Sanity Library Reference Docs
    Preparing search index...
    interface SubjectScope {
        acceptsAnyType: boolean;
        hasSubject: boolean;
        types: string[];
    }
    Index

    Properties

    acceptsAnyType: boolean

    True when a subject entry declares no types, so any document qualifies.

    hasSubject: boolean
    types: string[]

    The accepted document types, sorted. Empty when none are declared.