Sanity Library Reference Docs
    Preparing search index...

    deleteDefinition refused because the definition is still in use — either non-terminal instances are pinned to it (pass cascade to abort them in place first) or a surviving deployed definition still spawn-references a targeted version (delete or redeploy the referrer first). blockedBy says which, with the blocking ids, so a consumer can render the remediation.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cause?: unknown
    definition: string
    kind: "definition-in-use"
    message: string
    name: string
    stack?: string