Skip to content

BlockSuite API Documentation / @blocksuite/blocks / DatabaseBlockSchema

Variable: DatabaseBlockSchema

const DatabaseBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:database"

props

props: @blocksuite/store

Type declaration

children

children: string[]

parent

parent: string[]

role

role: "hub"

version

version: number

transformer()?

optional transformer: () => @blocksuite/store

Returns

@blocksuite/store

version

version: number

Defined in

packages/affine/model/dist/blocks/database/database-model.d.ts:12