Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ImageBlockSchema

Variable: ImageBlockSchema

const ImageBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:image"

props

props: @blocksuite/store

Type declaration

role

role: "content"

version

version: number

transformer()?

optional transformer: () => ImageBlockTransformer

Returns

ImageBlockTransformer

version

version: number

Defined in

packages/affine/model/dist/blocks/image/image-model.d.ts:14