Skip to content

ChangeEvent@sheetwrite/core

On this page

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.
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;
}

Referenced by

Workspace packages depending on @sheetwrite/core

  • @sheetwrite/benchdependency
  • @sheetwrite/docs-startdependency
  • @sheetwrite/reactdependency
  • @sheetwrite/sveltedependency
  • @sheetwrite/vuedependency
  • @sheetwrite/xlsxdependency

Public exports naming ChangeEvent

Documentation