feat(spacetimedb): add the SpacetimeDB SDK - #533
Open
Mkassabov wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caution
This is a requested SDK from an Alchemy PR, not a distilled issue. There is no existing distilled PR for SpacetimeDB. The request is a review comment on alchemy-run/alchemy#1044 telling us to put the client in distilled instead of a hand-written Alchemy client.
This is the requested SpacetimeDB SDK.
Adds
@distilled.cloud/spacetimedb. SpacetimeDB publishes no first-party OpenAPI;fetch-specs.tssnapshots the vendor HTTP docs (llms.txt+/docs/http/*) and assembles OpenAPI from that snapshot (management HTTP:/v1/database,/v1/identity,GET /v1/ping). Not a third-party spec.stacks/distilled-submodules/spec-repos/spacetimedb/fetch-specs.tspackages/spacetimedb/scripts/{convert,generate}.tsdistilled-mirror/spec-mirror-spacetimedbis created by the distilled-submodules stack on merge tomain. Until then, regenerate withpnpm specs:local spacetimedbandDISTILLED_SPECS_LOCAL=1 pnpm generate spacetimedb.pnpm specs:link spacetimedbrecorded the.gitmodulesstanza (shallow = true).