feat: upload and select multiple image

This commit is contained in:
Methapon Metanipat 2024-09-10 09:56:46 +07:00
parent 5a50ab209d
commit ed832148fc
4 changed files with 78 additions and 24 deletions

View file

@ -50,4 +50,7 @@ export const fileLocation = {
profile: (userId: string, name?: string) => `user/profile-image-${userId}/${name || ""}`,
attachment: (userId: string, name?: string) => `user/attachment-${userId}/${name || ""}`,
},
customer: {
img: (customerId: string, name?: string) => `customer/img-${customerId}/${name || ""}`,
},
};