Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ZipTransformer

Variable: ZipTransformer

const ZipTransformer: Object

Type declaration

exportPages

exportPages: (workspace, pages) => Promise<Blob>

Parameters

workspace: Workspace

pages: Page[]

Returns

Promise<Blob>

importPages

importPages: (workspace, imported) => Promise<Page[]>

Parameters

workspace: Workspace

imported: Blob

Returns

Promise<Page[]>

Source

packages/blocks/src/_common/transformers/zip.ts:116


Generated using TypeDoc and typedoc-plugin-markdown.