Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / DatabaseBlockSchema

Variable: DatabaseBlockSchema

const DatabaseBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:database"

props

props: PropsGetter<DatabaseBlockProps>

Type declaration

children

children: string[]

parent

parent: string[]

role

role: "hub" = 'hub'

version

version: number = 3

transformer()?

optional transformer: () => BaseBlockTransformer<DatabaseBlockProps>

Returns

BaseBlockTransformer<DatabaseBlockProps>

version

version: number

Defined in

packages/affine/model/src/blocks/database/database-model.ts:16