weasel API - v0.8.0
    Preparing search index...

    Interface HistoryEntry

    Read-only view of a history entry exposed via History.entries().

    interface HistoryEntry {
        id: number;
        label: string;
        timestamp: number;
        touchedIds?: ReadonlySet<string>;
    }
    Index

    Properties

    id: number

    Stable monotonic id (preserved across coalesce merges).

    label: string

    Human-readable label (the label arg passed to applyOps).

    timestamp: number

    Push/last-coalesce timestamp (ms).

    touchedIds?: ReadonlySet<string>

    Set of node ids touched by any op in this entry. Populated from ops whose args carry an id field (transform, setPath, reparent) or a node.id field (insert, delete). Ops without a recognisable id field contribute nothing. May be undefined for deserialized entries restored from an older snapshot that predates this field.