Sanity Library Reference Docs
    Preparing search index...

    Interface WorkflowDefinitionDeletedData

    The caller-provenance fields every engine event payload carries: the engine's own view of the host that invoked it. ExecutionContext.id is never reported.

    interface WorkflowDefinitionDeletedData {
        cascadeAbortedCount: number;
        deletedGuardCount: number;
        deletedVersionCount: number;
        executionKind?: ReportedExecutionKind;
        executionRuntime: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cascadeAbortedCount: number

    Non-terminal instances cascade-aborted before the delete.

    deletedGuardCount: number

    Orphaned guard docs removed (populated only when the last version goes).

    deletedVersionCount: number

    Deployed versions removed by this delete.

    executionKind?: ReportedExecutionKind

    Where the operation came from: the host's declared EXECUTION_KINDS value projected onto the reported vocabulary, or other for a kind outside it. Absent when the host declared none.

    executionRuntime: string

    The JavaScript runtime the engine inferred for itself, matching the executionContext.runtime the same operation stamps on its history entries.