Skip to content

BlockSuite API Documentation / @blocksuite/store / BlockSchemaIdentifier

Variable: BlockSchemaIdentifier

const BlockSchemaIdentifier: ServiceIdentifier<{ model: { children: string[]; flavour: string; isFlatData: boolean; parent: string[]; props: (...args) => Record<string, any>; role: "root" | "hub" | "content"; toModel: (...args) => BlockModel<object>; }; transformer: (...args) => BaseBlockTransformer<object>; version: number; }> & <U>(variant) => ServiceIdentifier<U>

Defined in: packages/framework/store/src/extension/schema.ts:6