BlockSuite API Documentation / @blocksuite/blocks / ReferenceInfoSchema
Variable: ReferenceInfoSchema
const
ReferenceInfoSchema:z.ZodObject
<z.objectUtil.extendShape
<{pageId
:z.ZodString
;params
:z.ZodOptional
<z.ZodObject
<{blockIds
:z.ZodOptional
<z.ZodArray
<z.ZodString
,"many"
>>;databaseId
:z.ZodOptional
<z.ZodOptional
<z.ZodString
>>;databaseRowId
:z.ZodOptional
<z.ZodOptional
<z.ZodString
>>;elementIds
:z.ZodOptional
<z.ZodArray
<z.ZodString
,"many"
>>;mode
:z.ZodOptional
<z.ZodEnum
<["edgeless"
,"page"
]>>; },"strip"
,z.ZodTypeAny
, {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; }, {blockIds
:string
[];databaseId
:string
;databaseRowId
:string
;elementIds
:string
[];mode
:"edgeless"
|"page"
; }>>; }, {description
:z.ZodOptional
<z.ZodString
>;title
:z.ZodOptional
<z.ZodString
>; }>,"strip"
,z.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/dist/consts/doc.d.ts:44