Skip to main content

Variable: stepFilesSchema

const stepFilesSchema: ZodObject<{ pdfFile: ZodCustom<File, File>; supplementaryFiles: ZodOptional<ZodArray<ZodObject<{ description: ZodString; file: ZodCustom<File, File>; type: ZodOptional<ZodEnum<{ appendix: "appendix"; code: "code"; data: "data"; figure: "figure"; other: "other"; }>>; }, $strip>>>; }, $strip>

Defined in: web/lib/schemas/preprint.ts:403

Step 1: Files - PDF and supplementary materials.

Remarks

Used for validating the first step of the submission wizard.