Sanity Library Reference Docs
    Preparing search index...
    interface DeploymentPlan {
        anyTypeSubjects: string[];
        deploymentName: string;
        emission: DeploymentEmission | undefined;
        hosting: RuntimeHosting;
        needs: RuntimeNeeds;
        runtimeKind: RuntimeKind;
        selfHosted: SelfHostedNeeds;
        subjectlessDefinitions: string[];
        tag: string;
    }
    Index

    Properties

    anyTypeSubjects: string[]

    Autonomous definitions with an emitted watcher whose subject declares no types, name ascending. Their watcher matches every create in the dataset.

    deploymentName: string
    emission: DeploymentEmission | undefined

    Absent when the deployment needs no functions.

    runtimeKind: RuntimeKind

    The deployment's declared kind, or DEFAULT_RUNTIME_KIND. Its workflows inherit it.

    selfHosted: SelfHostedNeeds
    subjectlessDefinitions: string[]

    Autonomous definitions with no subject entry, name ascending. They contribute no trigger, so they get no watcher, and a deployment whose autonomous definitions are all subjectless gets none at all. A 'selfHosted' one is in SelfHostedNeeds.startInstances instead.

    tag: string