Sanity Library Reference Docs
    Preparing search index...

    Function isNonSelectableTerminalEvent

    Discard of a published document's draft emits deleteDocumentVersion. Deleting the document group (or the last remaining draft, per the events lifecycle docs) emits deleteDocumentGroup. Neither is selectable in Review Changes; treat both as a terminal event for the live revision.