From 6e582c4e7c4703f9ded2b28d7a510ff045186003 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Thu, 6 Nov 2025 15:29:00 +0700 Subject: [PATCH] chore(FE-188,193): create ACCEPTED_FILE_TYPES constant --- src/config/constant.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/config/constant.ts b/src/config/constant.ts index 57599702..4de5bd8b 100644 --- a/src/config/constant.ts +++ b/src/config/constant.ts @@ -231,3 +231,12 @@ export const RECORDING_FLAG_OPTIONS = [ { label: 'Ayam Culling', value: 'Ayam Culling' }, { label: 'Ayam Mati', value: 'Ayam Mati' }, ]; + +export const ACCEPTED_FILE_TYPE = { + PDF: { + 'application/pdf': ['.pdf'], + }, + IMAGE: { + 'image/*': [], + }, +};