Successful rebased operations or a conservative rebase conflict.
Variants 2
{ status: "rebased"; operations: readonly DocumentOp[] }
Declaration
View full TypeScript declaration
export type DocumentRebaseResult =
Referenced by
Workspace packages depending on @sheetwrite/core
@sheetwrite/benchdependency
@sheetwrite/docs-startdependency
@sheetwrite/reactdependency
@sheetwrite/sveltedependency
@sheetwrite/vuedependency
@sheetwrite/xlsxdependency
Public exports naming DocumentRebaseResult
type DocumentOp =
| {
op: "set";
addr: CellAddress;
value: CellValue;
style?: CellStyle;
}
| { op: "setRange"; range: Range; cells: SnapshotCell[] }
| { op: "setBlock"; range: Range; block: PackedCellBlock }
| {
op: "restoreBlock";
range: Range;
encoding: "deflate-json-v1";
decodedBytes: number;
data: string;
// … 100 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: "restoreBlock";
range: Range;
encoding: "deflate-json-v1";
decodedBytes: number;
data: string;
// … 100 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: "restoreBlock";
// … 175 more lines — see the API reference
}Exhaustive serializable operation union for workbook mutations.API reference →interface RebaseConflict {
code: RebaseConflictCode;
localOperationIndex: number;
remoteOperationIndex: number;
message: string;
}interface RebaseConflict {
code: RebaseConflictCode;
localOperationIndex: number;
remoteOperationIndex: number;
message: string;
}interface RebaseConflict {
code: RebaseConflictCode;
localOperationIndex: number;
remoteOperationIndex: number;
message: string;
}Reason and affected operations for an unsafe document rebase.API reference →