diff --git a/src/utils/minio.ts b/src/utils/minio.ts index 8aecc4c..1937e3a 100644 --- a/src/utils/minio.ts +++ b/src/utils/minio.ts @@ -64,6 +64,11 @@ export const fileLocation = { img: (employeeId: string, name?: string) => `employee/img-${employeeId}/${name || ""}`, attachment: (employeeId: string, name?: string) => `employee/attachment-${employeeId}/${name || ""}`, + visa: (employeeId: string, visaId?: string) => `employee/visa-${employeeId}/${visaId || ""}`, + passport: (employeeId: string, passportId?: string) => + `employee/passport-${employeeId}/${passportId || ""}`, + reportInCountry: (employeeId: string, reportId?: string) => + `employee/report-in-country-${employeeId}/${reportId || ""}`, }, product: { img: (productId: string, name?: string) => `product/img-${productId}/${name || ""}`,