Skip to content
Sheetwrite

Sheetwrite / Documentation

RowBridgeHostActionDelta@sheetwrite/core/adapter

A document operation that needs a host-side action rather than row mutation.

A document operation that needs a host-side action rather than row mutation.

Members 9

kind
readonly kind: "host-action";
action
readonly action: | "add-sheet" | "remove-sheet" | "rename-sheet" | "move-sheet" | "set-sheet-visibility";
transaction
readonly transaction: RowBridgeTransaction;
transactionId
readonly transactionId: string;
source
readonly source: OperationSource;
previous
readonly previous: unknown;
next
readonly next: unknown;
operation
readonly operation: DocumentOp;
rowIds
readonly rowIds: readonly (Id | null)[];

Declaration

View full TypeScript declaration
export interface RowBridgeHostActionDelta<
Id extends RowBridgeId = RowBridgeId,
> {
readonly kind: "host-action";
readonly action:
| "add-sheet"
| "remove-sheet"
| "rename-sheet"
| "move-sheet"
| "set-sheet-visibility";
readonly transaction: RowBridgeTransaction;
readonly transactionId: string;
readonly source: OperationSource;
readonly previous: unknown;
readonly next: unknown;
readonly operation: DocumentOp;
readonly rowIds: readonly (Id | null)[];
}