TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Tracker

    A tracker is one rule, a natural-language condition plus its rising-edge state. The compiled code lives on the tracker's Job, not here. affectedEntryIds are the entries the rule watches, and a verdict's members are the ones that matched.

    type Tracker = {
        affectedEntryIds: readonly string[];
        enabled: boolean;
        id: string;
        name: string;
        openedAt?: number;
        rule: string;
        wasActive: boolean;
    }
    Index
    affectedEntryIds: readonly string[]

    The ids of every entry the rule reads, the per-entry lookup key (EventsState.trackersForEntry).

    enabled: boolean
    id: string
    name: string
    openedAt?: number

    Rising-edge time of the current open episode, if active.

    rule: string

    Natural-language condition (LLM-readable). The compiled code lives on the tracker's job.

    wasActive: boolean

    Whether the verdict was active at the last recompute, the one bit of rising-edge memory.