@sheetwrite/coretype
State or restore transition emitted by revision coordination.
Variants 3
{ type: "restored"; targetVersion: number; version: number }{ type: "conflict"; targetVersion: number; currentVersion: number;}{ type: "error"; error: unknown }Declaration
View full TypeScript declaration
export type RevisionCoordinatorEvent = | { type: "restored"; targetVersion: number; version: number; } | { type: "conflict"; targetVersion: number; currentVersion: number; } | { type: "error"; error: unknown; };