Sanity Library Reference Docs
    Preparing search index...

    deployments names must be unique, and each (workflowResource, partition) pair must be unique. Every deployment carries a resolved partition ('default' when the author omitted it). warnings lists one deprecation message for each deployment that named its partition with tag; nothing prints them, so a host shows them where its user will read them. telemetry, when set, replaces the CLI's built-in Sanity-intake shell entirely: every event flows to this logger unconditionally (CI and DO_NOT_TRACK included), and consent, environment suppression, and transport become this implementation's business.

    interface WorkflowConfig {
        deployments: {
            definitions: DefinedWorkflow[];
            expectedMinReaderModel?: number;
            name: string;
            partition: string;
            resourceAliases?: {
                name: string;
                resource:
                    | { id: string; type: "dataset" }
                    | { id: string; type: "canvas" }
                    | { id: string; type: "media-library" }
                    | { id: string; type: "dashboard" };
            }[];
            runtime?: RuntimeBlock;
            workflowResource: | { id: string; type: "dataset" }
            | { id: string; type: "canvas" }
            | { id: string; type: "media-library" }
            | { id: string; type: "dashboard" };
        }[];
        telemetry?: WorkflowTelemetryLogger;
        warnings: readonly string[];
    }
    Index

    Properties

    deployments: {
        definitions: DefinedWorkflow[];
        expectedMinReaderModel?: number;
        name: string;
        partition: string;
        resourceAliases?: {
            name: string;
            resource:
                | { id: string; type: "dataset" }
                | { id: string; type: "canvas" }
                | { id: string; type: "media-library" }
                | { id: string; type: "dashboard" };
        }[];
        runtime?: RuntimeBlock;
        workflowResource: | { id: string; type: "dataset" }
        | { id: string; type: "canvas" }
        | { id: string; type: "media-library" }
        | { id: string; type: "dashboard" };
    }[] = ...
    telemetry?: WorkflowTelemetryLogger = ...
    warnings: readonly string[]