@univerjs-procollaborationfunctionsGeneratetempdocumentsnapshot

@univerjs-pro/collaboration v0.5.0-beta.1Docs


Function: generateTempDocumentSnapshot()

function generateTempDocumentSnapshot(
   _context, 
   document, 
   unitID, 
   rev): Promise<{
  snapshot: Snapshot;
}>

Parameters

ParameterType
_contextILogContext
documentIDocumentData
unitIDstring
revnumber

Returns

Promise<{ snapshot: Snapshot; }>

NameTypeDefined in
snapshotSnapshotpackages/collaboration/src/services/snapshot/snapshot-transform.ts:40

Defined in

packages/collaboration/src/services/snapshot/snapshot-transform.ts:17