Sanity Library Reference Docs
    Preparing search index...
    DeployedDefinition: WorkflowDefinition & {
        _id: string;
        contentHash?: string;
        minReaderModel?: number;
        modelVersion?: number;
        tag?: string;
        version: number;
    }

    A definition as fetched back from the lake. The document carries _id plus the deploy-stamped envelope the authored WorkflowDefinition never had: the assigned version and the content fingerprint it was minted from (hashDefinitionContent).

    Type declaration

    • _id: string
    • OptionalcontentHash?: string

      Optional: a document deployed before content-addressing has none. Every version this engine deploys carries one.

    • OptionalminReaderModel?: number

      The oldest engine data model that can safely interpret this document, derived from its persisted features and the retained model-4 baseline.

    • OptionalmodelVersion?: number

      Engine data-model stamp (see DATA_MODEL_VERSION) — absent on documents deployed before the stamp existed (model 0).

    • Optionaltag?: string
    • version: number