Sanity Library Reference Docs
    Preparing search index...
    interface DeleteDefinitionResult {
        abortedInstanceIds: string[];
        deletedGuardCount: number;
        deletedVersions: number[];
        name: string;
    }
    Index

    Properties

    abortedInstanceIds: string[]

    Instances hard-stopped by cascade, in abort order. Empty without it.

    deletedGuardCount: number

    Orphaned guard docs removed across the definition's statically-named datasources. Only populated when the LAST version goes — guard docs are stamped with the version-less name, so they stay while any version remains deployed.

    deletedVersions: number[]

    Versions actually removed, newest first.

    name: string

    The definition's name.