BlockSuite API Documentation / @blocksuite/blocks / AttachmentBlockSchema
Variable: AttachmentBlockSchema
const
AttachmentBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
"affine:attachment"
props
props:
PropsGetter
Type declaration
parent
parent:
string
[]
role
role:
"content"
version
version:
number
transformer()?
optional
transformer: () =>AttachmentBlockTransformer
Returns
version
version:
number
Defined in
packages/affine/model/dist/blocks/attachment/attachment-model.d.ts:37