API > @blocksuite/blocks > __unstableSchemas
Variable: __unstableSchemas ​
const
__unstableSchemas: ({model
: {flavour
:"affine:attachment"
;props
:PropsGetter
<AttachmentBlockProps
>;role
:"root"
|"hub"
|"content"
;} & {parent
:string
[];role
:"content"
;version
:number
;};onUpgrade
: (data
,previousVersion
,latestVersion
) =>void
;transformer
: () =>BaseBlockTransformer
<AttachmentBlockProps
>;version
:number
;} | {model
: {flavour
:"affine:data-view"
;props
:PropsGetter
<Props
>;role
:"root"
|"hub"
|"content"
;} & {children
:string
[];parent
:string
[];role
:"hub"
;version
:number
;};onUpgrade
: (data
,previousVersion
,latestVersion
) =>void
;transformer
: () =>BaseBlockTransformer
<Props
>;version
:number
;})[]
Defined In ​
packages/blocks/src/models.ts:72