Skip to content
Sheetwrite

Sheetwrite / Documentation

ChangeEvent@sheetwrite/core

Payload of the change event; flows OUT for API submission/reconcile.

Payload of the change event; flows OUT for API submission/reconcile.

Members 5

transaction Operations that actually committed after policy and bounds filtering.
transaction: Transaction;
changes Cell-level before/after effects; empty for commits that only change metadata.
changes: CellChange[];
commitReason What produced this commit — see CommitReason.
commitReason: CommitReason;
source Remote input is observable but never belongs in outgoing local persistence.
source: OperationSource;
epoch Store epoch after the commit; emitted store and grid changes include it.
epoch?: number;

Declaration

View full TypeScript declaration
export interface ChangeEvent {
transaction: Transaction;
changes: CellChange[];
commitReason: CommitReason;
source: OperationSource;
epoch?: number;
}