UNPKG

@fdm-monster/server

Version:

FDM Monster is a bulk OctoPrint, Klipper, PrusaLink and BambuLab manager to set up, configure and monitor 3D printers. Our aim is to provide neat overview over your farm.

14 lines (13 loc) 663 B
import { z } from "zod"; //#region src/controllers/validation/printer-files-controller.validation.ts const startPrintFileSchema = z.object({ filePath: z.string().min(1) }); const downloadFileSchema = z.object({ path: z.string().min(1) }); const getFileSchema = z.object({ path: z.string().min(1) }); const uploadFileSchema = z.object({ startPrint: z.enum(["true", "false"]) }); const getFilesSchema = z.object({ recursive: z.string().optional(), startDir: z.string().optional() }); //#endregion export { downloadFileSchema, getFileSchema, getFilesSchema, startPrintFileSchema, uploadFileSchema }; //# sourceMappingURL=printer-files-controller.validation.js.map