-
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 getbyId -> spenderPlatformV1ApiService (#2946)
- Loading branch information
1 parent
3acb926
commit e110648
Showing
4 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/app/core/mock-data/platform/v1/platform-project.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,23 @@ | ||
import { PlatformApiResponse } from '../../../models/platform/platform-api-response.model'; | ||
import { PlatformProject } from '../../../models/platform/platform-project.model'; | ||
import deepFreeze from 'deep-freeze-strict'; | ||
|
||
export const platformProjectSingleRes: PlatformApiResponse<PlatformProject[]> = deepFreeze({ | ||
count: 1, | ||
data: [ | ||
{ | ||
is_enabled: true, | ||
code: '1184', | ||
created_at: new Date('2021-05-12T10:28:40.834844'), | ||
description: 'Sage Intacct Project - Customer Mapped Project, Id - 1184', | ||
id: 257528, | ||
name: 'Customer Mapped Project', | ||
category_ids: [122269, 122270, 122271, null], | ||
org_id: 'orFdTTTNcyye', | ||
updated_at: new Date('2021-07-08T10:28:27.686886'), | ||
display_name: 'Customer Mapped Project', | ||
sub_project: null, | ||
}, | ||
], | ||
offset: 0, | ||
}); |
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