Saiichi Shayan Hashimoto
Saiichi Shayan Hashimoto
Client `listen` methods also use queries, makes sense that they should be able to use `groq-builder` the same way we are in #662.
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...
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...
The only thing typed on client is `fetch` and there's a lot more there.
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...
- [ ] 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...