BlockSuite API Documentation / @blocksuite/affine-model / ReferenceParamsSchema
Variable: ReferenceParamsSchema
const
ReferenceParamsSchema: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"
; }>
Defined in
packages/affine/model/src/consts/doc.ts:25