Skip to content

BlockSuite API Documentation / @blocksuite/blocks / DividerBlockSchema

Variable: DividerBlockSchema

const DividerBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:divider"

props

props: @blocksuite/store

Type declaration

children

children: never[]

role

role: "content"

version

version: number

onUpgrade()?

optional onUpgrade: (data, previousVersion, latestVersion) => void

Parameters

data: object

previousVersion: number

latestVersion: number

Returns

void

transformer()?

optional transformer: () => @blocksuite/store

Returns

@blocksuite/store

version

version: number

Defined in

packages/affine/model/dist/blocks/divider/divider-model.d.ts:2