@univerjs-procollaborationfunctionsTransformworkbookdatatosnapshot

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


Function: transformWorkbookDataToSnapshot()

function transformWorkbookDataToSnapshot(
   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:136

Defined in

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