The query registry as seen from @sanity/client. Inherits every query registered on the global
SanityQueries interface, and still accepts the older module augmentation form:
@sanity/client releases that predate the global registry only read this interface, so a
generated file that registers queries globally can bridge them with an augmentation that adds
the global as a base type. It is harmless on releases that already inherit it:
The query registry as seen from
@sanity/client. Inherits every query registered on the globalSanityQueriesinterface, and still accepts the older module augmentation form:@sanity/clientreleases that predate the global registry only read this interface, so a generated file that registers queries globally can bridge them with an augmentation that adds the global as a base type. It is harmless on releases that already inherit it: