Sanity Library Reference Docs
    Preparing search index...

    Interface SanityDocumentLike

    Similar to SanityDocument but only requires the _id and _type

    SanityDocument

    interface SanityDocumentLike {
        _createdAt?: string;
        _id: string;
        _rev?: string;
        _system?: { delete?: boolean };
        _type: string;
        _updatedAt?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    _createdAt?: string
    _id: string
    _rev?: string
    _system?: { delete?: boolean }
    _type: string
    _updatedAt?: string