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