Shared MimeType config for Uploadthing
Hi, I would like to define allowed MimeType - .jpeg, .png, .pdf and also I would like to define min and max file count, but shared across the mime types.
e.g. I have minimum 5 files and maximum 10, so I would like to be able to select 3x .pngs, 2x .jpegs and 1x .pdf
I currently defined the router config like this
But it looks like it takes the validation for each Mime type
2 Replies