Sanity Library Reference Docs
    Preparing search index...

    A Workflows deployment declared as a Sanity Blueprints resource. Pure data: the blueprint manifest serializes it verbatim into the stack mutation, and the provider reads it back to run the definition deploy. Blueprints uses name as stack identity. A retained resource cannot be renamed in place because the implied removal of the old name is rejected.

    interface WorkflowsResource {
        deployment: AcknowledgedWorkflowDeployment;
        lifecycle: NormalizedWorkflowsResourceLifecycle;
        name: string;
        type: "sanity.workflow";
    }

    Hierarchy (View Summary)

    Index

    Properties

    The deployment to provision — the same shape as one deployments[] entry of a sanity.workflow.ts config, its floor asserted. Definitions are carried in authored form; @<handle>: aliases expand at provision, not here.

    name: string
    type: "sanity.workflow"