sanity-typed icon indicating copy to clipboard operation
sanity-typed copied to clipboard

Completing sanity's developer experience with typescript (and more)!

Results 32 sanity-typed issues
Sort by recently updated
recently updated
newest added

An idea that @judofyr suggested was essentially a polyfill. Rather than switching imports to `@sanity-typed`, we could enable importing something like `@sanity-typed/polyfill` and it would globally augment `sanity`'s native packages...

help wanted

Client `listen` methods also use queries, makes sense that they should be able to use `groq-builder` the same way we are in #662.

help wanted

Hi! First of all, thanks for the effort you've put into this! Whenever I add a nested filter, the generated type is unknown and it only happens if it is...

### Packages: `@sanity-typed/client` `@sanity-types/types` ### Issue: When i am querying for data with groq queries, the generated types does not show hidden fields correct. Hidden fields are permanently null and...

help wanted

```typescript import {parse} from '@sanity-typed/groq-js' parse(`*[_id=="id"]{ "1": obj.a, "2": obj.b, "3": obj.c, "4": obj.d, "5": obj.e, "6": obj.f, "7": obj.g, "8": obj.h, }`) ``` Not exactly sure which part is...

help wanted

For the regex validations, we found a library to mock those, but we need a library to _not_ mock those. We could just mock arbitrary strings and check against the...

help wanted

https://github.com/portabletext/react-native-portabletext Apparently, it'll mostly be re-exporting https://github.com/saiichihashimoto/sanity-typed/tree/main/packages/react, so it's likely cloning the package and, instead, just re-exporting from the `/react` package with whatever `Omit` or `Pick` it needs. I have...

help wanted

The only thing typed on client is `fetch` and there's a lot more there.

help wanted