Sanity Library Reference Docs
    Preparing search index...
    WorkflowConfigInput: Omit<WorkflowConfig, "deployments"> & {
        deployments: WorkflowDeploymentInput[];
    }

    What an author writes for a whole config: every deployment is a WorkflowDeploymentInput. defineWorkflowConfig accepts this and returns the looser WorkflowConfig.