-
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: Kill compliances (Part 1) (#2651)
* WIP * More stuff * Minor * Minor * Added tests * Removed fdescribe * Minor * Minor * Minor * Minor * Revert "Minor" This reverts commit 74d6610. * Minor * Minor * Minor * feat: Kill compliances (Part 2) (#2654) * Added dismiss changes * Minor * Tests * Minor * feat:kill compliances 3 (#2664) * feat:kill compliances-3 * minor * minor * minor --------- Co-authored-by: sowmya <[email protected]> --------- Co-authored-by: SowmyaFyle <[email protected]> Co-authored-by: sowmya <[email protected]> * minor * minor * minor --------- Co-authored-by: SowmyaFyle <[email protected]> Co-authored-by: sowmya <[email protected]>
- Loading branch information
1 parent
1172a24
commit 246be5f
Showing
20 changed files
with
602 additions
and
115 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
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
29 changes: 29 additions & 0 deletions
29
src/app/core/mock-data/platform/v1/expense-duplicate-sets.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,29 @@ | ||
import { ExpenseDuplicateSet } from 'src/app/core/models/platform/v1/expense-duplicate-sets.model'; | ||
|
||
export const expenseDuplicateSet: ExpenseDuplicateSet = { | ||
expense_ids: ['tx5fBcPBAxLv', 'tx3nHShG60zq'], | ||
}; | ||
|
||
export const expenseDuplicateSet2: ExpenseDuplicateSet = { | ||
expense_ids: ['tx5fBcPBAxLv'], | ||
}; | ||
|
||
export const expenseDuplicateSets: ExpenseDuplicateSet[] = [ | ||
{ expense_ids: ['tx3I0ccSGlhg', 'txvAmVCGZUZi'] }, | ||
{ expense_ids: ['tx3rq5G9gzgf', 'txS1cDov9iZn'] }, | ||
{ expense_ids: ['tx6KauIKfjdJ', 'txT0ZmCrVOiD'] }, | ||
{ expense_ids: ['tx6KauIKfjdJ', 'txws78AoalC9', 'txzjWIcqYxa9'] }, | ||
{ expense_ids: ['tx86H1wDT5aK', 'txQYb76PXaC8', 'txWTiNPneIW5'] }, | ||
{ expense_ids: ['tx96W9dASsje', 'txJVuyoiir2c', 'txqcNXONJpiR'] }, | ||
{ | ||
expense_ids: ['txeG0ozaWXAv', 'txi5sCnM706r', 'txJfGPgyDQTj', 'txQhnRluTgSl', 'txtJUQJBvTiv'], | ||
}, | ||
{ expense_ids: ['txfQtm19a26X', 'txOoNP4AguMY'] }, | ||
{ | ||
expense_ids: ['txiqfeRdVP58', 'txKe7x7WoEfg', 'txvQepZO5jiw', 'txxSrpiC5Eaz'], | ||
}, | ||
{ expense_ids: ['txivvQdKDGfZ', 'txvqhZ4SRBx9'] }, | ||
{ expense_ids: ['txjh5iDt7xXO', 'txkJsHIF6a9X'] }, | ||
{ expense_ids: ['txT0ZmCrVOiD', 'txws78AoalC9'] }, | ||
{ expense_ids: ['txT0ZmCrVOiD', 'txzjWIcqYxa9'] }, | ||
]; |
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
7 changes: 7 additions & 0 deletions
7
src/app/core/models/platform/v1/expense-duplicate-sets.model.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,7 @@ | ||
export interface ExpenseDuplicateSetsResponse { | ||
data: ExpenseDuplicateSet[]; | ||
} | ||
|
||
export interface ExpenseDuplicateSet { | ||
expense_ids: string[]; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export interface DuplicateSet { | ||
fields: string[]; | ||
fields?: string[]; // in platform, fields aren't present -> so making it optional | ||
transaction_ids: string[]; | ||
} |
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.