Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentStatus

    When each version of a document was last edited, as returned in _status on projection results

    interface DocumentStatus {
        lastEditedDraftAt?: string;
        lastEditedPublishedAt?: string;
        lastEditedVersionAt?: string;
    }
    Index

    Properties

    lastEditedDraftAt?: string

    The _updatedAt of the draft, if one exists

    lastEditedPublishedAt?: string

    The _updatedAt of the published document, if one exists

    lastEditedVersionAt?: string

    The _updatedAt of the version in the current release perspective, if one exists