sanity-typed
sanity-typed copied to clipboard
Completing sanity's developer experience with typescript (and more)!
Bumps [sanity](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity) from 3.23.4 to 3.41.1. Release notes Sourced from sanity's releases. v3.41.1 Installation and upgrading To initiate a new Studio without installing the CLI globally: npm create sanity@latest To...
Hello, I'm following Sanity's docs for adding an icon to a Document and I'm getting a type error when trying to do so. The icon is rendering fine on Sanity's...
I'm trying to transform sanity schema to sanity-typed schema when I encounter this error. The [official doc](https://www.sanity.io/docs/portable-text-editor-configuration#ec55d49cfe6c) suggests that we can add images to Portable Text by appending a new...
I'm facing an odd problem with trying to put groups on fields with custom types. The following code gives a typing error on the "validation" field: ```typescript import { defineField,...
I'm exploring using `sanity-typed`, but with a relatively simple studio I'm running into some issues. One I am not sure how to proceed on is figuring out how to handle...
1. Though I am getting the correct fields in the referenced document, but all the values are `null` type instead being `string | null`type. 2. Using groq as`import groq from...
Hi there, I've gotten this working so far ( albeit not with workspaces and a few annoyances but so be it ), but when running a Next JS build I...
## :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...
It would be really nice to test the performance of type checking, similar to [jest's `testTimeout`](https://jestjs.io/docs/configuration#testtimeout-number) (which I'm fairly confident only sets a timeout for the _runtime_ of the test,...
Hi! In our Sanity schemas we often create custom functions instead of reusable fields to give more customisation and control over the schema building. An example of this is a...