Sanity Library Reference Docs
    Preparing search index...

    Interface WorkflowDefinitionDeployedData

    interface WorkflowDefinitionDeployedData {
        actionCount: number;
        activityCount: number;
        activityKinds: ("user" | "service" | "script" | "manual" | "receive")[];
        contentHash: string;
        deployId: string;
        effectCount: number;
        fieldCount: number;
        fieldKinds: (keyof FieldValueMap)[];
        guardCount: number;
        lifecycle: WorkflowLifecycle;
        stageCount: number;
        status: "unchanged" | "created";
        subworkflowCount: number;
        transitionCount: number;
    }
    Index

    Properties

    actionCount: number
    activityCount: number
    activityKinds: ("user" | "service" | "script" | "manual" | "receive")[]

    Distinct effective activity kinds used, sorted.

    contentHash: string

    Content fingerprint of the deployed content.

    deployId: string

    Groups every definition event minted by one deployDefinitions call — a random run id, never derived from names or resource coordinates, so deployment-level rollups are a group-by without carrying customer strings. Distinct from the workflow-domain deployment tag.

    effectCount: number

    Effects declared across the definition's actions.

    fieldCount: number

    Declared field entries across workflow, stage, and activity scopes.

    fieldKinds: (keyof FieldValueMap)[]

    Distinct declared field kinds across workflow, stage, and activity scopes, sorted.

    guardCount: number
    stageCount: number
    status: "unchanged" | "created"

    Whether this deploy minted a new version or matched the latest one. Unchanged redeploys emit too — the attempt is the adoption signal.

    subworkflowCount: number

    Actions carrying a spawn block.

    transitionCount: number