Skip to content

Commit

Permalink
refactor: move interfaces into declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
grantwforsythe committed Jul 14, 2024
1 parent 9de7dbd commit d84239b
Show file tree
Hide file tree
Showing 30 changed files with 447 additions and 501 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import { MockStore, provideMockStore } from '@ngrx/store/testing';

import { NgxChartsModule } from '@swimlane/ngx-charts';

import { Account } from '../../../../shared/services/ynab/interfaces/accounts/account';
import { CategoryGroup } from '../../../../shared/services/ynab/interfaces/categories/categoryGroup';
import { Transaction } from '../../../../shared/services/ynab/interfaces/transactions/transaction';
import { selectSortedResults } from '../../../../state/selectors/report.selectors';
import { ChartsBarHorizontalComponent } from './bar-horizontal.component';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import { MockStore, provideMockStore } from '@ngrx/store/testing';

import { NgxChartsModule } from '@swimlane/ngx-charts';

import { Account } from '../../../../shared/services/ynab/interfaces/accounts/account';
import { CategoryGroup } from '../../../../shared/services/ynab/interfaces/categories/categoryGroup';
import { Transaction } from '../../../../shared/services/ynab/interfaces/transactions/transaction';
import { selectSortedResults } from '../../../../state/selectors/report.selectors';
import { ChartsBarVerticalComponent } from './bar-vertical.component';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { Store } from '@ngrx/store';

import { Observable, Subject, combineLatest, startWith, takeUntil } from 'rxjs';

import { Account } from '../../../../shared/services/ynab/interfaces/accounts/account';
import { Category } from '../../../../shared/services/ynab/interfaces/categories/category';
import { formActions } from '../../../../state/actions/dashboard-form.actions';
import { FormState } from '../../../../state/app.state';
import {
Expand Down
2 changes: 0 additions & 2 deletions src/app/reports/ui/flag/flag.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Component, Input } from '@angular/core';

import { FlagColor } from '../../../shared/services/ynab/interfaces/transactions/flagColor';

@Component({
selector: 'app-charts-bar-vertical',
standalone: true,
Expand Down
61 changes: 0 additions & 61 deletions src/app/shared/services/ynab/interfaces/accounts/account.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/app/shared/services/ynab/interfaces/accounts/accountType.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

79 changes: 0 additions & 79 deletions src/app/shared/services/ynab/interfaces/categories/category.ts

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions src/app/shared/services/ynab/interfaces/payees/payee.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/shared/services/ynab/interfaces/payees/payeeLocation.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d84239b

Please sign in to comment.