feat: add file location for request and task
This commit is contained in:
parent
bbb78465c2
commit
feb0c067fb
1 changed files with 5 additions and 2 deletions
|
|
@ -101,12 +101,15 @@ export const fileLocation = {
|
|||
`quotation/payment-${quotationId}/${paymentId}/${name || ""}`,
|
||||
},
|
||||
request: {
|
||||
attachment: (requestId: string, name?: string) =>
|
||||
`request/attachment-${requestId}/${name || ""}`,
|
||||
attachment: (requestId: string, step: number, name?: string) =>
|
||||
`request/attachment-${requestId}-${step}/${name || ""}`,
|
||||
},
|
||||
institution: {
|
||||
attachment: (institutionId: string, name?: string) =>
|
||||
`institution/attachment-${institutionId}/${name || ""}`,
|
||||
img: (institutionId: string, name?: string) => `institution/img-${institutionId}/${name || ""}`,
|
||||
},
|
||||
task: {
|
||||
attachment: (taskId: string, name?: string) => `task/attachment-${taskId}/${name || ""}`,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue