Sanity Library Reference Docs
    Preparing search index...

    A LOADED candidate document. Applicability evaluates content, so a ref or bare id is not enough: the doc must carry its schema _type plus whatever attributes start.filter predicates read — under whatever perspective the caller loaded it with.

    interface CandidateDocument {
        _type: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    Properties

    _type: string