Sanity Library Reference Docs
    Preparing search index...
    interface ResourceSurface {
        allows: (parsed: ParsedGdr) => boolean;
        description: string;
    }
    Index

    Properties

    Properties

    allows: (parsed: ParsedGdr) => boolean

    True when the parsed GDR targets a declared resource.

    description: string

    Prose rendering of the declared surface, for rejection messages.