Drop-in replacement for ClientReturn that brands the result strings as StegaString, for use
as the first generic of client.fetch when stega is enabled:
When the query is registered in the SanityQueries interface (for example by sanity typegen),
the result type is looked up and deeply branded with StegaBranded. Otherwise it falls back to
Fallback, which defaults to any, just like ClientReturn.
Drop-in replacement for
ClientReturnthat brands the result strings asStegaString, for use as the first generic ofclient.fetchwhen stega is enabled:When the query is registered in the
SanityQueriesinterface (for example bysanity typegen), the result type is looked up and deeply branded withStegaBranded. Otherwise it falls back toFallback, which defaults toany, just likeClientReturn.