TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AnalysisRecord

    One analysis tracked by the session-level Analyses registry — the single home for every analyseData analysis, one-shot or monitored, across every entry kind. Pure sink state: metadata plus the bounded result history. The recipe (code / inputs) and recurrence are NOT here — they live on the analysis's Job (see _jobs). affectedEntryIds is the per-entry lookup key (Analyses.getAnalysesForEntry); history is the result timeline (oldest first), whose latest is the current result and is threaded back into the sandbox code as previous.

    type AnalysisRecord = {
        affectedEntryIds: readonly string[];
        analysisId: string;
        description?: string;
        history: EntryAnalysis[];
        name: string;
        outputFormat: AnalysisOutputFormat;
    }
    Index

    Properties

    affectedEntryIds: readonly string[]

    Ids of every entry this analysis is attached to. The per-entry lookup key.

    analysisId: string

    Stable handle minted by makeAnalysisId (name + sorted source ids).

    description?: string
    history: EntryAnalysis[]

    Bounded result timeline, oldest first (see MAX_HISTORY_PER_ANALYSIS).

    name: string
    outputFormat: AnalysisOutputFormat