Skip to content

BlockSuite API Documentation / @blocksuite/store / DraftModel

Type alias: DraftModel<Model>

DraftModel<Model>: Pick<Model, PropsInDraft> & object & ModelProps<Model>

Type declaration

children

children: DraftModel[]

Type parameters

Model extends BlockModel = BlockModel

Source

packages/framework/store/src/transformer/draft.ts:14