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