Sanity Library Reference Docs
    Preparing search index...

    Interface DefinitionsForDocumentArgs

    interface DefinitionsForDocumentArgs {
        document: CandidateDocument;
    }
    Index

    Properties

    Properties

    The LOADED candidate document — unlike InstancesForDocumentArgs, a ref won't do: applicability evaluates content (_type against subject entry types, start.filter against the attributes), under whatever perspective the caller loaded the document with.