@dxos/app-framework - v0.16.0
    Preparing search index...

    Type Alias HistoryEntry

    History entry stored by HistoryTracker: a single invocation, a merged run of invocations, or a transaction.

    type HistoryEntry = {
        context?: unknown;
        mergeKey?: string;
        message?: Translations.Label;
        scope?: string;
        steps: HistoryStep[];
        timestamp: number;
        updated: number;
    }
    Index

    Properties

    context?: unknown

    Opaque caller state (e.g. view path and selection) handed back on undo and redo.

    mergeKey?: string

    Entries with equal scope and merge key recorded within the merge window fold together.

    Message describing the entry (toast label).

    scope?: string

    Document or subject the entry belongs to; undefined entries are reachable only by unscoped undo/redo.

    steps: HistoryStep[]

    Steps in forward order; undo runs their inverses in reverse order.

    timestamp: number

    Time the entry was first recorded.

    updated: number

    Time the entry last absorbed an invocation; the merge window slides from here.