Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / EmbedLoomBlockSchema

Variable: EmbedLoomBlockSchema

const EmbedLoomBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: `affine:embed-${string}`

props

props: PropsGetter<EmbedProps<EmbedLoomBlockProps>>

Type declaration

role

role: "content" = 'content'

version

version: number

transformer()?

optional transformer: () => BaseBlockTransformer<EmbedProps<EmbedLoomBlockProps>>

Returns

BaseBlockTransformer<EmbedProps<EmbedLoomBlockProps>>

version

version: number

Defined in

packages/affine/model/src/blocks/embed/loom/loom-schema.ts:19