Feature/group filters by type (#922)

* Add groups to activities filter component

* Update changelog
This commit is contained in:
Thomas Kaul
2022-05-15 21:51:31 +02:00
committed by GitHub
parent f1483569a2
commit 160335302a
12 changed files with 130 additions and 78 deletions

View File

@@ -0,0 +1,6 @@
import { Filter } from './filter.interface';
export interface FilterGroup {
filters: Filter[];
name: Filter['type'];
}

View File

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

View File

@@ -8,6 +8,7 @@ import {
} from './admin-market-data.interface';
import { Coupon } from './coupon.interface';
import { Export } from './export.interface';
import { FilterGroup } from './filter-group.interface';
import { Filter } from './filter.interface';
import { HistoricalDataItem } from './historical-data-item.interface';
import { InfoItem } from './info-item.interface';
@@ -41,6 +42,7 @@ export {
Coupon,
Export,
Filter,
FilterGroup,
HistoricalDataItem,
InfoItem,
PortfolioChart,