BlockSuite API Documentation / @blocksuite/blocks / ListBlockSchema
Variable: ListBlockSchema
const
ListBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
"affine:list"
props
props:
@blocksuite/store
Type declaration
parent
parent:
string
[]
role
role:
"content"
version
version:
number
onUpgrade()?
optional
onUpgrade: (data
,previousVersion
,latestVersion
) =>void
Parameters
• data: ListProps
• previousVersion: number
• latestVersion: number
Returns
void
transformer()?
optional
transformer: () =>@blocksuite/store
Returns
version
version:
number
Defined in
packages/affine/model/dist/blocks/list/list-model.d.ts:10