Sanity Library Reference Docs
    Preparing search index...
    interface DeployDefinitionResult {
        name: string;
        status: "created" | "unchanged";
        version: number;
        warnings?: string[];
    }
    Index

    Properties

    name: string

    The definition's name.

    status: "created" | "unchanged"
    version: number

    The deploy-assigned version this deploy created or matched.

    warnings?: string[]

    The non-blocking warnings this deploy reported for the definition, such as an effect-output read no declared effect produces (lintEffectOutputs) or a referenced project role with no current holder. Deploy still succeeds. Absent when there are none.