Sanity Library Reference Docs
    Preparing search index...
    • What runtime each deployment in config must emit. Performs no I/O and renders no file text. Throws on a name that cannot be embedded, an effect name two definitions host differently, or a non-dataset workflow resource.

      Parameters

      • config: {
            deployments: {
                definitions: DefinedWorkflow[];
                expectedMinReaderModel?: number;
                name: string;
                resourceAliases?: {
                    name: string;
                    resource:
                        | { id: string; type: "dataset" }
                        | { id: string; type: "canvas" }
                        | { id: string; type: "media-library" }
                        | { id: string; type: "dashboard" };
                }[];
                runtime?: RuntimeBlock;
                tag: string;
                workflowResource: | { id: string; type: "dataset" }
                | { id: string; type: "canvas" }
                | { id: string; type: "media-library" }
                | { id: string; type: "dashboard" };
            }[];
            telemetry?: WorkflowTelemetryLogger;
        }

      Returns RuntimeEmissionPlan