feat: add file location for employee
This commit is contained in:
parent
a93c21cee4
commit
e3745c34b2
1 changed files with 5 additions and 0 deletions
|
|
@ -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 || ""}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue