BlockSuite API Documentation / @blocksuite/affine-model / EmbedGithubBlockSchema
Variable: EmbedGithubBlockSchema
const
EmbedGithubBlockSchema:object
Defined in: packages/affine/model/src/blocks/embed/github/github-schema.ts:28
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
`affine:embed-${string}`
props
props:
PropsGetter
<EmbedProps
<EmbedGithubBlockProps
>>
Type declaration
role
role:
"content"
='content'
version
version:
number
transformer()?
optional
transformer: (transformerConfig
) =>BaseBlockTransformer
Parameters
transformerConfig
Map
<string
, unknown
>
Returns
version
version:
number