BlockSuite API Documentation / @blocksuite/affine-model / ReferenceInfoSchema
Variable: ReferenceInfoSchema
const
ReferenceInfoSchema:ZodObject
<extendShape
<{pageId
:ZodString
;params
:ZodOptional
<ZodObject
<{blockIds
:ZodOptional
<ZodArray
<ZodString
,"many"
>>;databaseId
:ZodOptional
<ZodOptional
<ZodString
>>;databaseRowId
:ZodOptional
<ZodOptional
<ZodString
>>;elementIds
:ZodOptional
<ZodArray
<ZodString
,"many"
>>;mode
:ZodOptional
<ZodEnum
<["edgeless"
,"page"
]>>; },"strip"
,ZodTypeAny
, {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; }, {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; }>>; }, {description
:ZodOptional
<ZodString
>;title
:ZodOptional
<ZodString
>; }>,"strip"
,ZodTypeAny
, {description
:string
;pageId
:string
;params
: {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; };title
:string
; }, {description
:string
;pageId
:string
;params
: {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; };title
:string
; }>
Defined in
packages/affine/model/src/consts/doc.ts:37