Skip to main content

Variable: stepFilesSchema

const stepFilesSchema: ZodObject<{ documentFile: ZodCustom<File, File>; documentFormat: ZodOptional<ZodEnum<{ docx: "docx"; epub: "epub"; html: "html"; jupyter: "jupyter"; latex: "latex"; markdown: "markdown"; odt: "odt"; pdf: "pdf"; rtf: "rtf"; txt: "txt"; }>>; supplementaryMaterials: ZodOptional<ZodArray<ZodObject<{ category: ZodString; description: ZodOptional<ZodString>; detectedFormat: ZodString; file: ZodCustom<File, File>; label: ZodString; order: ZodNumber; }, $strip>>>; }, $strip>

Defined in: web/lib/schemas/eprint.ts:434

Step 1: Files - Document and supplementary materials.

Remarks

Used for validating the first step of the submission wizard. Supports multiple document formats (PDF, DOCX, HTML, Markdown, LaTeX, etc.).