@univerjs-procollaborationfunctionsGeneratetemporarysnap

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


Function: generateTemporarySnap()

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

Parameters

ParameterType
contextILogContext
workbookIWorkbookData
unitIDstring
revnumber
snapshotServiceISnapshotServerService

Returns

Promise<{ snapshot: ISnapshot; }>

NameTypeDefined in
snapshotISnapshotpackages/collaboration/src/services/snapshot/snapshot-transform.ts:52

Defined in

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