Sanity Library Reference Docs
    Preparing search index...

    Interface DeleteDocumentVersionEventBeta

    interface DeleteDocumentVersionEvent {
        author: string;
        creationEvent?: CreateDocumentVersionEvent;
        documentId: string;
        documentVariantType: DocumentVariantType;
        id: string;
        releaseId?: string;
        timestamp: string;
        type: "deleteDocumentVersion";
        versionId: string;
        versionRevisionId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    author: string

    This is added client side to enhance the UI. For draft documents, it indicates the event that created this document that was later published It will be used to expand the publish view.

    documentId: string
    documentVariantType: DocumentVariantType

    This is added client side to enhance the UI.

    id: string
    releaseId?: string
    timestamp: string
    type: "deleteDocumentVersion"
    versionId: string
    versionRevisionId: string