BlockSuite API Documentation / @blocksuite/affine-model / ImageBlockSchema
Variable: ImageBlockSchema
const
ImageBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
"affine:image"
props
props:
PropsGetter
<ImageBlockProps
>
Type declaration
role
role:
"content"
='content'
version
version:
number
=1
transformer()?
optional
transformer: () =>ImageBlockTransformer
Returns
version
version:
number
Defined in
packages/affine/model/src/blocks/image/image-model.ts:32