BlockSuite API Documentation / @blocksuite/affine-block-root / ZipTransformer
Variable: ZipTransformer
constZipTransformer:object
Defined in: packages/affine/blocks/block-root/src/transformers/zip.ts:169
Type declaration
exportDocs()
exportDocs: (
collection,schema,docs) =>Promise<void>
Parameters
collection
schema
docs
Store[]
Returns
Promise<void>
importDocs()
importDocs: (
collection,schema,imported) =>Promise<(undefined|Store)[]>
Parameters
collection
schema
imported
Blob
Returns
Promise<(undefined | Store)[]>