BlockSuite API Documentation / @blocksuite/affine-model / EmbedLinkedDocBlockSchema
Variable: EmbedLinkedDocBlockSchema
const
EmbedLinkedDocBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour: `affine:embed-${string}`
props
Type declaration
role
role:
"content"
='content'
version
version:
number
transformer()?
optional
transformer: () =>BaseBlockTransformer
<EmbedProps
<EmbedLinkedDocBlockProps
>>
Returns
BaseBlockTransformer
<EmbedProps
<EmbedLinkedDocBlockProps
>>
version
version:
number
Defined in
packages/affine/model/src/blocks/embed/linked-doc/linked-doc-schema.ts:17