Skip to content

API > @blocksuite/store > BeforeImportPayload

Type alias: BeforeImportPayload ​

BeforeImportPayload: {index: number; parent: string; snapshot: BlockSnapshot; type: "block";} | {snapshot: SliceSnapshot; type: "slice";} | {snapshot: PageSnapshot; type: "page";} | {snapshot: WorkspaceInfoSnapshot; type: "info";}

Defined In ​

packages/store/src/transformer/middleware.ts:14