BlockSuite API Documentation / @blocksuite/affine-model / AttachmentBlockSchema
Variable: AttachmentBlockSchema
const
AttachmentBlockSchema:object
Defined in: packages/affine/model/src/blocks/attachment/attachment-model.ts:74
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: (transformerConfig
) =>AttachmentBlockTransformer
Parameters
transformerConfig
Map
<string
, unknown
>
Returns
version
version:
number