Skip to content

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

Variable: BookmarkBlockSchema

const BookmarkBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:bookmark"

props

props: PropsGetter<BookmarkBlockProps>

Type declaration

parent

parent: string[]

role

role: "content" = 'content'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<BookmarkBlockProps>

Returns

BaseBlockTransformer<BookmarkBlockProps>

version

version: number

Defined in

packages/affine/model/src/blocks/bookmark/bookmark-model.ts:41