diff --git a/src/utils/minio.ts b/src/utils/minio.ts index 66148c1..c376eea 100644 --- a/src/utils/minio.ts +++ b/src/utils/minio.ts @@ -59,6 +59,11 @@ export const fileLocation = { customer: { img: (customerId: string, name?: string) => `customer/img-${customerId}/${name || ""}`, }, + employee: { + img: (employeeId: string, name?: string) => `employee/img-${employeeId}/${name || ""}`, + attachment: (employeeId: string, name?: string) => + `employee/attachment-${employeeId}/${name || ""}`, + }, product: { img: (productId: string, name?: string) => `product/img-${productId}/${name || ""}`, },