Sanity Library Reference Docs
    Preparing search index...

    Interface SanitySchemasByResource

    The schema registry as seen from @sanity/client. Inherits every resource registered on the global SanitySchemasByResource, and also accepts a module augmentation, the same way SanityQueries does.

    interface SanitySchemasByResource {
        "packaging1.test": PackagingAuthor | PackagingMovie;
        "packaging2.production": PackagingAuthor;
        "ppsg7ml5.test": Author | Movie | Slug;
        "vo1ysemo.production": Author;
    }

    Hierarchy

    • SanitySchemasByResource
      • SanitySchemasByResource
    Index

    Properties

    "packaging1.test": PackagingAuthor | PackagingMovie
    "packaging2.production": PackagingAuthor
    "ppsg7ml5.test": Author | Movie | Slug
    "vo1ysemo.production": Author