Sanity Library Reference Docs
    Preparing search index...
    interface ActivityEntry {
        _key: string;
        completedAt?: string;
        completedBy?: string;
        fields?: ResolvedFieldEntry[];
        filterEvaluation?: {
            at: string;
            detail?: string;
            truthy: boolean;
            unevaluable?: boolean;
        };
        firedActions?: string[];
        name: string;
        startedAt?: string;
        status: ActivityStatus;
    }
    Index

    Properties

    _key: string
    completedAt?: string
    completedBy?: string

    Activity-scoped resolved field entries. Absent until the engine writes to it.

    filterEvaluation?: {
        at: string;
        detail?: string;
        truthy: boolean;
        unevaluable?: boolean;
    }

    Type declaration

    • at: string
    • Optionaldetail?: string
    • truthy: boolean
    • Optionalunevaluable?: boolean

      The filter evaluated to GROQ null — a referenced operand was missing or incomparable, so it couldn't be decided. The engine fails closed (keeps the activity in scope) rather than reading this as a deliberate false; truthy is false here but the activity is NOT skipped.

    firedActions?: string[]

    Names of this activity's cascade-fired actions that have fired during THIS stage visit — the once-per-visit ledger. Level-triggered: a name lands here on the first evaluation that finds its when true and never re-fires within the visit; stage re-entry rebuilds entries, so re-arming on a new visit is structural. Absent until the first trigger fires.

    name: string

    Matches the authoring Activity.name.

    startedAt?: string