BlockSuite API Documentation / @blocksuite/affine-model / FootNoteReferenceParamsSchema
Variable: FootNoteReferenceParamsSchema
const
FootNoteReferenceParamsSchema:ZodObject
<{blobId
:ZodOptional
<ZodString
>;docId
:ZodOptional
<ZodString
>;fileName
:ZodOptional
<ZodString
>;fileType
:ZodOptional
<ZodString
>;type
:ZodEnum
<["doc"
,"attachment"
,"url"
]>;url
:ZodOptional
<ZodString
>; },"strip"
,ZodTypeAny
, {blobId
:string
;docId
:string
;fileName
:string
;fileType
:string
;type
:"doc"
|"attachment"
|"url"
;url
:string
; }, {blobId
:string
;docId
:string
;fileName
:string
;fileType
:string
;type
:"doc"
|"attachment"
|"url"
;url
:string
; }>
Defined in: packages/affine/model/src/consts/doc.ts:59
FootNoteReferenceParamsSchema is used to define the parameters for a footnote reference. It supports the following types:
- docId: string - the id of the doc
- blobId: string - the id of the attachment
- url: string - the url of the reference
- fileName: string - the name of the attachment
- fileType: string - the type of the attachment