Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / FootNoteSchema

Variable: FootNoteSchema

const FootNoteSchema: ZodObject<{ label: ZodString; reference: 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; }>; }, "strip", ZodTypeAny, { label: string; reference: { blobId: string; docId: string; fileName: string; fileType: string; type: "doc" | "attachment" | "url"; url: string; }; }, { label: string; reference: { blobId: string; docId: string; fileName: string; fileType: string; type: "doc" | "attachment" | "url"; url: string; }; }>

Defined in: packages/affine/model/src/consts/doc.ts:72