Local Snapshot

GitHubEdit on GitHub
Packages@univerjs-labs/local-snapshot-manager
LABS

Overview

@univerjs-labs/local-snapshot-manager

APIs

exportWorkbookToXlsxAsync

Signature

async exportWorkbookToXlsxAsync(unitId: string, outputPath: string): Promise<{ outputPath: string; sizeBytes: number }>

Parameters

  • unitId stringNo description
  • outputPath stringNo description

Returns

  • Promise<{ outputPath: string; sizeBytes: number; }> — See signature above.
Source: @univerjs-labs/local-snapshot-manager

loadSheetAsync

Signature

async loadSheetAsync(snapshotFile: string, mutationsFile: string): Promise<FWorkbook>

Parameters

  • snapshotFile stringNo description
  • mutationsFile stringNo description

Returns

  • Promise<FWorkbook> — See signature above.
Source: @univerjs-labs/local-snapshot-manager

pushWorkbookToRemoteAsync

Signature

async pushWorkbookToRemoteAsync(unitId: string): Promise<string>

Parameters

  • unitId stringNo description

Returns

  • Promise<string> — See signature above.
Source: @univerjs-labs/local-snapshot-manager