BlockSuite API Documentation / @blocksuite/affine-model / AttachmentBlockSchema
Variable: AttachmentBlockSchema
constAttachmentBlockSchema: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()?
optionaltransformer: (transformerConfig) =>AttachmentBlockTransformer
Parameters
transformerConfig
Map<string, unknown>
Returns
version
version:
number