Skip to content

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

Variable: SurfaceRefBlockSchema

const SurfaceRefBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:surface-ref"

props

props: PropsGetter<SurfaceRefProps>

Type declaration

parent

parent: string[]

role

role: "content" = 'content'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<SurfaceRefProps>

Returns

BaseBlockTransformer<SurfaceRefProps>

version

version: number

Defined in

packages/affine/model/src/blocks/surface-ref/surface-ref-model.ts:9