Feature/refactor filters with interface (#883)

* Refactor filtering with an interface

* Filter by accounts

* Update changelog
This commit is contained in:
Thomas Kaul
2022-05-07 11:44:29 +02:00
committed by GitHub
parent ce6b5fb7cb
commit 16dd8f7652
13 changed files with 221 additions and 98 deletions

View File

@@ -0,0 +1,5 @@
export interface Filter {
id: string;
label?: string;
type: 'account' | 'tag';
}

View File

@@ -8,6 +8,7 @@ import {
} from './admin-market-data.interface';
import { Coupon } from './coupon.interface';
import { Export } from './export.interface';
import { Filter } from './filter.interface';
import { InfoItem } from './info-item.interface';
import { PortfolioChart } from './portfolio-chart.interface';
import { PortfolioDetails } from './portfolio-details.interface';
@@ -38,6 +39,7 @@ export {
AdminMarketDataItem,
Coupon,
Export,
Filter,
InfoItem,
PortfolioChart,
PortfolioDetails,