sanity-typed
sanity-typed copied to clipboard
Completing sanity's developer experience with typescript (and more)!
After #336, `valueOfField` no longer breaks, but faker doesn't generate with them. Ideally, `faker` would include _all_ validations. It's difficult to layer in the validations at the field level, because...
After #336, `valueOfField` no longer breaks, but zod doesn't validate with them. Ideally, `zod` would include _all_ validations (except for custom, [read this](https://github.com/saiichihashimoto/sanity-typed/tree/main/packages/zod#validations)). It's difficult to layer in the validations...
Hi! Thanks for making this package! It's fantastic :) I'm using pnpm as my package manager and I have been getting errors after building Sanity studio. To reproduce: ```sh pnpm...
- [ ] With `allowCredentials`, randomly include credentials - [ ] With `scheme` pick a random scheme and use it
GROQ typing currently doesn't attempt any `UnicodeEscapeSequence`s, which could create some issues. - [ ] https://sanity-io.github.io/GROQ/GROQ-1.revision1/#UnicodeEscapeSequence
`global::references` should filter out anything that doesn't contain a reference. Right now, I think it just returns `boolean` where it could be more specific`. - [ ] https://sanity-io.github.io/GROQ/GROQ-1.revision1/#global_references()
Generally, using `in` with a range should return `boolean` (we can't determine in typescript if something is in a range. But, if the types of the left and the range...
Anything that resolves to non-literal `number==number` ends up returning `true`, where it should return `boolean`. I _think_ it should go: - [ ] If they're both literals, return `true` or...
## :rotating_light: The automated release from the `main` branch failed. :rotating_light: I recommend you give this issue a high priority, so other packages depending on you can benefit from your...
Bumps the sanity group with 3 updates in the / directory: [@sanity/client](https://github.com/sanity-io/client), [sanity](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity) and [@sanity/preview-kit](https://github.com/sanity-io/preview-kit/tree/HEAD/packages/preview-kit). Updates `@sanity/client` from 6.11.3 to 6.21.2 Release notes Sourced from @sanity/client's releases. v6.21.2 6.21.2 (2024-08-09)...