Skip to content

BlockSuite API Documentation / @blocksuite/store / SchemaToModel

Type alias: SchemaToModel<Schema> ​

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

Type declaration ​

flavour ​

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

Type parameters ​

• Schema extends Object

Source ​

packages/store/src/schema/base.ts:64


Generated using typedoc-plugin-markdown and TypeDoc