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