Sanity Library Reference Docs
    Preparing search index...

    Interface SanityQueriesByResource

    The per-resource query registry as seen from @sanity/client. Inherits every resource registered on the global SanityQueriesByResource, and also accepts a module augmentation.

    interface SanityQueriesByResource {
        "packaging1.test": { "*[_type == \"author\"]": TestAuthorsResult };
        "packaging2.production": {
            "*[_type == \"author\"]": ProductionAuthorsResult;
        };
        "ppsg7ml5.test": { "*[_type == \"author\"]": TestAuthorsResult };
        "vo1ysemo.production": {
            "*[_type == \"author\"]": ProductionAuthorsResult;
        };
    }

    Hierarchy

    • SanityQueriesByResource
      • SanityQueriesByResource
    Index

    Properties

    "packaging1.test": { "*[_type == \"author\"]": TestAuthorsResult }
    "packaging2.production": { "*[_type == \"author\"]": ProductionAuthorsResult }
    "ppsg7ml5.test": { "*[_type == \"author\"]": TestAuthorsResult }
    "vo1ysemo.production": { "*[_type == \"author\"]": ProductionAuthorsResult }