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