Skip to content

BlockSuite API Documentation / @blocksuite/store / FinalPayload

Type Alias: FinalPayload

FinalPayload: { index: number; model: DraftModel; parent: string; snapshot: BlockSnapshot; type: "block"; } | { page: Doc; snapshot: DocSnapshot; type: "page"; } | { slice: Slice; snapshot: SliceSnapshot; type: "slice"; } | { snapshot: CollectionInfoSnapshot; type: "info"; }

Defined in

packages/framework/store/src/transformer/middleware.ts:51