fix: use fork of joi with full features on browser

This commit is contained in:
sbplat
2024-02-05 12:15:01 -05:00
parent 829127c3f8
commit e7b4c93481
9 changed files with 43 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import Joi from "joi";
import Joi from "@stirling-tools/joi";
import { PdfFile } from "./PdfFile";
export const JoiPDFFileSchema = Joi.custom((value: Express.Multer.File[] /* <- also handles single files */ | PdfFile[] | PdfFile, helpers) => {