BlockSuite API Documentation / @blocksuite/blocks / ZipTransformer
Variable: ZipTransformer
const
ZipTransformer:object
Type declaration
exportDocs()
exportDocs: (
collection
,docs
) =>Promise
<Blob
>
Parameters
• collection: DocCollection
• docs: Doc
[]
Returns
Promise
<Blob
>
importDocs()
importDocs: (
collection
,imported
) =>Promise
<Doc
[]>
Parameters
• collection: DocCollection
• imported: Blob
Returns
Promise
<Doc
[]>
Source
packages/blocks/src/_common/transformers/zip.ts:145