Sanity Library Reference Docs
    Preparing search index...

    Interface WeakGlobalDocumentReferenceValueBeta

    interface WeakGlobalDocumentReferenceValue {
        _key?: string;
        _ref: `${string}:${string}:${string}`;
        _type: string;
        _weak: true;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    _key?: string
    _ref: `${string}:${string}:${string}`

    The reference to the document. This is a string of the form a:b:c, where:

    • a is the resource type, for example dataset or media-library
    • b is the resource ID, for example data set name or media library ID
    • c is the document ID
    _type: string
    _weak: true