Skip to content

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

Variable: FrameBlockSchema

const FrameBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:frame"

props

props: PropsGetter<FrameBlockProps>

Type declaration

children

children: never[] = []

parent

parent: string[]

role

role: "content" = 'content'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<FrameBlockProps>

Returns

BaseBlockTransformer<FrameBlockProps>

version

version: number

Defined in

packages/affine/model/src/blocks/frame/frame-model.ts:30