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

    Properties

    name: string

    The definition's name.

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

    The deploy-assigned version this deploy created or matched.

    warnings?: string[]

    Advisory producer/consumer warnings from the effect-output lint — a $effects['<name>'].<key> read of a key a declared effect does not produce. Non-blocking: deploy still succeeds. Absent when the definition is clean. See lintEffectOutputs.