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