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