Skip to content
Sheetwrite

Sheetwrite / Documentation

RevisionCoordinatorEvent@sheetwrite/core

State or restore transition emitted by revision coordination.

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