Feature/refactor filters with interface (#883)
* Refactor filtering with an interface * Filter by accounts * Update changelog
This commit is contained in:
5
libs/common/src/lib/interfaces/filter.interface.ts
Normal file
5
libs/common/src/lib/interfaces/filter.interface.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface Filter {
|
||||
id: string;
|
||||
label?: string;
|
||||
type: 'account' | 'tag';
|
||||
}
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user