Skip to content

docs: fix TypeScript view cheat sheet syntax#5188

Closed
clockwork-labs-bot wants to merge 1 commit into
masterfrom
docs/fix-ts-view-cheat-sheet-signature
Closed

docs: fix TypeScript view cheat sheet syntax#5188
clockwork-labs-bot wants to merge 1 commit into
masterfrom
docs/fix-ts-view-cheat-sheet-signature

Conversation

@clockwork-labs-bot
Copy link
Copy Markdown
Contributor

Summary

  • Update TypeScript view examples in the database cheat sheet to use the current three-argument spacetimedb.view / anonymousView API.
  • Add required public: true view options to match the TypeScript server SDK type and the dedicated views reference.

Validation

  • pnpm typecheck from docs/
  • pnpm build from docs/ (passes; existing llms-txt warning for /docs/ask-ai/ask-ai remains)

@clockwork-labs-bot
Copy link
Copy Markdown
Contributor Author

Superseded by #5166. I cherry-picked the docs fix onto docs/consolidated-docs-prs so the daily docs work stays consolidated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant