Interface AnalyticsLinkCommitExperimental

The inverse of one committed interaction. undo() restores exactly the slices the commit touched to exactly their previous values — it never replays a whole snapshot, so a concurrent change from a peer view survives.

interface AnalyticsLinkCommit {
    changed: boolean;
    interaction: AnalyticsInteraction;
    linkedState: AnalyticsLinkedState;
    touchedClauseIds: readonly string[];
    touchedSelection: boolean;
    undo(): void;
}

Properties

changed: boolean

True when the interaction changed shared exploration state.

Linked state after the commit.

touchedClauseIds: readonly string[]

Filter clause ids written or cleared by this commit.

touchedSelection: boolean

True when the commit replaced the shared selection.

Methods