@sanity-typed
Completing sanity's developer experience with typescript (and more)!
Install command
npm i @sanity-typed/types@sanity-typed
Completing sanity's developer experience with typescript (and more)!
Page Contents
- Fully Typed Sanity Client
- Fully Offline Sanity Client
- Runtime Validated Sanity Documents
- More Typed Packages
Fully Typed Sanity Client
Packages
@sanity-typed/types: Infer Sanity Document Types from Sanity Schemas@sanity-typed/client: @sanity/client with typed GROQ Results@sanity-typed/groq: Infer GROQ Result Types from GROQ strings
Fully Offline Sanity Client
Packages
@sanity-typed/faker: Generate Mock Data from Sanity Schemas@sanity-typed/client-mock: Mock @sanity-typed/client for local development and testing@sanity-typed/groq-js: groq-js with typed GROQ Results
Runtime Validated Sanity Documents
Packages
@sanity-typed/zod: Generate Zod Schemas from Sanity Schemas
More Typed Packages
Packages
@sanity-typed/next-sanity: next-sanity with typed GROQ Results@sanity-typed/preview-kit: @sanity/preview-kit with typed GROQ Results (deprecated)@portabletext-typed/react: @portabletext/react with typed arguments@portabletext-typed/to-html: @portabletext/to-html with typed arguments