Feature/introduce lookup response interface (#4019)
* Introduce lookup response interface * Refactor lookup item interfacepull/4017/head
parent
a1fbdc2ebe
commit
93001b68ad
@ -1,7 +1,7 @@
|
|||||||
import { DataProviderInfo } from '@ghostfolio/common/interfaces';
|
|
||||||
|
|
||||||
import { AssetClass, AssetSubClass, DataSource } from '@prisma/client';
|
import { AssetClass, AssetSubClass, DataSource } from '@prisma/client';
|
||||||
|
|
||||||
|
import { DataProviderInfo } from './data-provider-info.interface';
|
||||||
|
|
||||||
export interface LookupItem {
|
export interface LookupItem {
|
||||||
assetClass: AssetClass;
|
assetClass: AssetClass;
|
||||||
assetSubClass: AssetSubClass;
|
assetSubClass: AssetSubClass;
|
@ -0,0 +1,5 @@
|
|||||||
|
import { LookupItem } from '../lookup-item.interface';
|
||||||
|
|
||||||
|
export interface LookupResponse {
|
||||||
|
items: LookupItem[];
|
||||||
|
}
|
Loading…
Reference in new issue