Skip to content

Commit

Permalink
chore: cleanup unused files, objects, remove warnings in compilation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunaj5 authored Oct 17, 2024
1 parent 2f2d77a commit 081d859
Show file tree
Hide file tree
Showing 46 changed files with 37 additions and 997 deletions.
8 changes: 0 additions & 8 deletions src/app/core/core.module.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/core/mock-data/api-params.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ import deepFreeze from 'deep-freeze-strict';

import { ReportApiParams } from '../models/report-api-params.model';

export const getMyReportsParam1: ReportApiParams = deepFreeze({
offset: 0,
limit: 2,
queryParams: {
rp_state: 'in.(DRAFT,APPROVER_PENDING,APPROVER_INQUIRY)',
},
order: undefined,
});

export const getMyReportsParam2: ReportApiParams = deepFreeze({
offset: 2,
limit: 2,
queryParams: {
rp_state: 'in.(DRAFT,APPROVER_PENDING,APPROVER_INQUIRY)',
},
order: undefined,
});

export const getTeamReportsParams1: ReportApiParams = deepFreeze({
offset: 0,
limit: 10,
Expand Down
36 changes: 0 additions & 36 deletions src/app/core/mock-data/corporate-card-expense-flattened.data.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/app/core/mock-data/etxn-params.data.ts

This file was deleted.

113 changes: 0 additions & 113 deletions src/app/core/mock-data/formatted-policy-violation.data.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
import deepFreeze from 'deep-freeze-strict';

import { GetExpensesQueryParamsWithFilters } from '../models/get-expenses-query-params-with-filters.model';
import { GetExpenseQueryParam } from '../models/platform/v1/get-expenses-query.model';

export const expectedCurrentParams: Partial<GetExpensesQueryParamsWithFilters> = deepFreeze({
sortDir: 'asc',
queryParams: {
corporate_credit_card_account_number: 'in.(789)',
and: '(tx_txn_dt.gte.March,tx_txn_dt.lt.April)',
or: ['(tx_is_split_expense.eq.true)'],
},
});

export const expectedCurrentParamsWoFilterState: Partial<GetExpenseQueryParam> = deepFreeze({
sortDir: 'asc',
queryParams: {
Expand Down
16 changes: 0 additions & 16 deletions src/app/core/mock-data/policy-violation.data.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import deepFreeze from 'deep-freeze-strict';

import { PolicyViolation } from '../models/policy-violation.model';
import { PolicyViolationTxn } from '../models/policy-violation-txn.model';
export const policyViolation1: PolicyViolation = deepFreeze({
data: {
final_desired_state: {
Expand Down Expand Up @@ -55,11 +54,6 @@ export const splitPolicyExp3: PolicyViolation = deepFreeze({
type: 'category',
});

export const policyVoilationData2: PolicyViolationTxn = deepFreeze({
txVHydZVrGYC: splitPolicyExp2,
tx4QhcvNHpuh: splitPolicyExp3,
});

export const splitPolicyExp4: PolicyViolation = deepFreeze({
data: {
final_desired_state: {
Expand Down Expand Up @@ -150,16 +144,6 @@ export const splitPolicyExp5: PolicyViolation = deepFreeze({
type: 'category',
});

export const policyViolationData3: PolicyViolationTxn = deepFreeze({
txc2KIogxUAy: splitPolicyExp4,
txgfkvuYteta: splitPolicyExp5,
});

export const policyViolationData4: PolicyViolationTxn = deepFreeze({
txSEM4DtjyKR: splitPolicyExp4,
txNyI8ot5CuJ: splitPolicyExp5,
});

export const policyViolationData5: PolicyViolation = deepFreeze({
amount: 122,
currency: 'INR',
Expand Down
Loading

0 comments on commit 081d859

Please sign in to comment.