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

Defined in

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