TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Tracker

    One tracker = one rule: an NL condition plus its rising-edge state. The compiled code lives on the tracker's Job, not here. affectedEntryIds are the entries the rule watches; 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

    Properties

    affectedEntryIds: readonly string[]

    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

    The one bit of memory: was the verdict active at the last recompute (rising-edge detection).