BlockSuite API Documentation / @blocksuite/affine-model / NoteBlockSchema
Variable: NoteBlockSchema
const
NoteBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
"affine:note"
props
props:
PropsGetter
<NoteProps
>
Type declaration
children
children:
string
[]
parent
parent:
string
[]
role
role:
"hub"
='hub'
version
version:
number
=1
transformer()?
optional
transformer: () =>BaseBlockTransformer
<NoteProps
>
Returns
BaseBlockTransformer
<NoteProps
>
version
version:
number
Defined in
packages/affine/model/src/blocks/note/note-model.ts:23