BlockSuite API Documentation / @blocksuite/blocks / ZipTransformer
Variable: ZipTransformer
const
ZipTransformer:object
Type declaration
exportDocs()
exportDocs: (
collection
,docs
) =>Promise
<void
>
Parameters
collection
docs
Doc
[]
Returns
Promise
<void
>
importDocs()
importDocs: (
collection
,imported
) =>Promise
<(undefined
|Doc
)[]>
Parameters
collection
imported
Blob
Returns
Promise
<(undefined
| Doc
)[]>
Defined in
packages/blocks/src/_common/transformers/zip.ts:120