Skip to content

BlockSuite API Documentation / @blocksuite/store / SchemaToModel

Type alias: SchemaToModel<Schema>

SchemaToModel<Schema>: BlockModel<ReturnType<Schema["model"]["props"]>> & ReturnType<Schema["model"]["props"]> & Object

Type declaration

flavour

flavour: Schema["model"]["flavour"]

Type parameters

Schema extends Object

Source

packages/framework/store/src/schema/base.ts:61