@univerjs-pro/collaboration v0.5.0-beta.1 • Docs
Function: transformWorkbookDataToSnapshot()
function transformWorkbookDataToSnapshot(
context,
workbook,
unitID,
rev,
snapshotService): Promise<{
snapshot: ISnapshot;
}>
Parameters
Parameter | Type |
---|---|
context | ILogContext |
workbook | IWorkbookData |
unitID | string |
rev | number |
snapshotService | ISnapshotServerService |
Returns
Promise
<{
snapshot
: ISnapshot
;
}>
Name | Type | Defined in |
---|---|---|
snapshot | ISnapshot | packages/collaboration/src/services/snapshot/snapshot-transform.ts:136 |
Defined in
packages/collaboration/src/services/snapshot/snapshot-transform.ts:129