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