This is the documentation of version 0.49.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AnalysisRecord

    AnalysisRecord: AnalysisBase & { enabled: boolean; history: EntryAnalysis[] }

    One analysis tracked by the session-level Analyses registry — the single home for every analyseData analysis, one-shot or monitored, across every entry kind. The shared AnalysisBase plus the registry-owned enabled flag and the runtime-built history. affectedEntryIds is the per-entry lookup key (Analyses.getAnalysesForEntry); enabled means "recomputes on source change". history is the bounded result timeline (replaces the old per-entry store); the latest is the current result and is threaded back into the sandbox code as previous.

    Type Declaration

    • enabled: boolean

      Whether the standing sweep recomputes it when its source entry changes.

    • history: EntryAnalysis[]

      Bounded result timeline, oldest first (see MAX_HISTORY_PER_ANALYSIS).