@sheetwrite/coreinterface
Pending commit paired with its current synchronization status.
- Package
@sheetwrite/core- Source
packages/core/src/types/transaction.ts#L88
Members 5
status
status: SyncMutationStatustype SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";type SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";type SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";Lifecycle state of one local mutation in the synchronization queue.API reference →;documentId
documentId: string;baseVersion
baseVersion: number;clientMutationId
clientMutationId: string;operations
readonly operations: readonly DocumentOptype DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| { op: "setRange"; range: Range; cells: SnapshotCell[] }
| { op: "setBlock"; range: Range; block: PackedCellBlock }
| {
op: "setRangeStyle";
range: Range;
style: Partial<CellStyle> | null;
}
| {
// … 78 more lines — see the API reference
}type DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| { op: "setRange"; range: Range; cells: SnapshotCell[] }
| { op: "setBlock"; range: Range; block: PackedCellBlock }
| {
op: "setRangeStyle";
range: Range;
style: Partial<CellStyle> | null;
}
| {
// … 78 more lines — see the API reference
}type DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| {
op: "setRange";
range: Range;
cells: SnapshotCell[];
}
| {
op: "setBlock";
range: Range;
block: PackedCellBlock;
}
| {
op: "setRangeStyle";
// … 138 more lines — see the API reference
}Exhaustive serializable operation union for workbook mutations.API reference →[];Declaration
View full TypeScript declaration
export interface SyncMutationRecord { status: SyncMutationStatustype SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";type SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";type SyncMutationStatus =
| "persisting"
| "pending"
| "sending"
| "conflicted"
| "storage-error";Lifecycle state of one local mutation in the synchronization queue.API reference →; documentId: string; baseVersion: number; clientMutationId: string; readonly operations: readonly DocumentOptype DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| { op: "setRange"; range: Range; cells: SnapshotCell[] }
| { op: "setBlock"; range: Range; block: PackedCellBlock }
| {
op: "setRangeStyle";
range: Range;
style: Partial<CellStyle> | null;
}
| {
// … 78 more lines — see the API reference
}type DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| { op: "setRange"; range: Range; cells: SnapshotCell[] }
| { op: "setBlock"; range: Range; block: PackedCellBlock }
| {
op: "setRangeStyle";
range: Range;
style: Partial<CellStyle> | null;
}
| {
// … 78 more lines — see the API reference
}type DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| {
op: "setRange";
range: Range;
cells: SnapshotCell[];
}
| {
op: "setBlock";
range: Range;
block: PackedCellBlock;
}
| {
op: "setRangeStyle";
// … 138 more lines — see the API reference
}Exhaustive serializable operation union for workbook mutations.API reference →[];}