Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New XRPC-based Server and API implementations (bluesky-social#180)
* Add xrpc-cli package; implement 'new' and 'gen-md' commands * Add gen-ts-obj to xrpc-cli * Add gen-api command to xrpc-cli * Add gen-server to xrpc-cli * Update codegen from xrpc-cli to run prettier and include a banner comment * Use 'void' instead of 'undefined' for return type * Skip invalid schemas when generating code * Rewrite schemas package to use new simplified schema * Output type definitions in nested folders * Add record schema code-generation * Change xrcp client call() signature to be easier to use * Update client codegen to match new xrpc call signature * Fixes and improvements to generated record APIs * Update generated api to use per-service instances * Add xrpc-cli readme * (WIP) Rewrite server to use xrpc * Add missing references to server/tsconfig.json * Replace api implementation with xrpc generated client * Add /schemas folder with todo.adx * Add /schemas/todo.social * Update api package to include todo.social xrpc and adx schemas * Update server package to include todo.social xrpc and adx schemas * Fix some schema definitions * (WIP) Work toward xrpc update of server * Update auth package to use nsids for collections * Update repo package to use nsids for collections * Update AdxUri to use nsid collection IDs * Bring server CRUD tests to passing state * Move API to simpler xrpc call signature * Apply fixes and improvements to record apis * Update to new generated api with per-service instances * Rename the todo.social.* view methods * Rewrite the views system to use xrpc * Remove paths accidentally added to tsconfig * Remove microblog package * Add simple API readme * todo about deduping ucan prfs * increase postThread default depth to fix failing test. & fix USE_TEST_SERVER config Co-authored-by: dholms <[email protected]>
- Loading branch information