Skip to content

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

Variable: RootBlockSchema

const RootBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:page"

props

props: PropsGetter<RootBlockProps>

Type declaration

role

role: "root" = 'root'

version

version: number = 2

transformer()?

optional transformer: () => BaseBlockTransformer<RootBlockProps>

Returns

BaseBlockTransformer<RootBlockProps>

version

version: number

Defined in

packages/affine/model/src/blocks/root/root-block-model.ts:28