Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ZipTransformer

Variable: ZipTransformer

const ZipTransformer: Object

Type declaration

exportDocs

exportDocs: (workspace, docs) => Promise<Blob>

Parameters

workspace: Workspace

docs: Doc[]

Returns

Promise<Blob>

importDocs

importDocs: (workspace, imported) => Promise<Doc[]>

Parameters

workspace: Workspace

imported: Blob

Returns

Promise<Doc[]>

Source

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


Generated using TypeDoc and typedoc-plugin-markdown.