-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to platform files api in view expense page (#2920)
- Loading branch information
1 parent
2a3c7d8
commit 80aa5e4
Showing
12 changed files
with
215 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import deepFreeze from 'deep-freeze-strict'; | ||
import { PlatformFileGenerateUrlsResponse } from '../models/platform/platform-file-generate-urls-response.model'; | ||
|
||
export const urlsBulkData: PlatformFileGenerateUrlsResponse[] = deepFreeze([ | ||
{ | ||
content_type: 'application/pdf', | ||
download_url: 'https://exampledownloadurl.com', | ||
id: 'fij7umnwoZUU', | ||
name: 'invoice.pdf', | ||
upload_url: 'https://exampleuploadurl.com', | ||
}, | ||
]); |
17 changes: 17 additions & 0 deletions
17
src/app/core/mock-data/platform/v1/attach-receipt-payload.data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import deepFreeze from 'deep-freeze-strict'; | ||
|
||
export const attachReceiptPayload1 = deepFreeze({ | ||
data: { | ||
id: 'txcSFe6efB6R', | ||
file_id: 'fi1w2IE6JeqS', | ||
}, | ||
}); | ||
|
||
export const attachReceiptsPayload1 = deepFreeze({ | ||
data: [ | ||
{ | ||
id: 'txcSFe6efB6R', | ||
file_ids: ['fi1w2IE6JeqS', 'fiQ8ejWk25rF'], | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.