@univerjs-procollaborationfunctionsTransformdocumentdatatosnapshot

@univerjs-pro/collaboration v0.5.4


Function: transformDocumentDataToSnapshot()

function transformDocumentDataToSnapshot(
   context, 
   document, 
   unitID, 
   rev, 
   snapshotService): Promise<{
  snapshot: ISnapshot;
}>

Defined in: packages/collaboration/src/services/snapshot/snapshot-transform.ts:337

Parameters

ParameterType
contextILogContext
documentIDocumentData
unitIDstring
revnumber
snapshotServiceISnapshotServerService

Returns

Promise<{ snapshot: ISnapshot; }>