Sanity Library Reference Docs
    Preparing search index...

    Type Alias WorkflowDeploymentInput

    WorkflowDeploymentInput: Omit<WorkflowDeployment, "expectedMinReaderModel"> & {
        expectedMinReaderModel: number;
    }

    Author one deployment with a nonempty definitions array and a WorkflowResource. Dataset resource IDs use <projectId>.<dataset>.

    name and tag must contain only ASCII lowercase letters, digits, and dashes, starting with a letter or digit. Deployment names and (workflowResource, tag) pairs must be unique across the config. Optional resourceAliases use the same name grammar, with unique names within this deployment.

    expectedMinReaderModel is the highest reader model you have verified across runtimes sharing the workflow resource. Supply a reviewed numeric literal. Definition submission checks it against the required reader floor; upgrading a dependency alone does not require changing it.

    runtime is the default hosting kind for this deployment's workflows, which each workflow and effect may override. Omitted, its workflows host on 'function'.