2021-11-07 18:36:28 +01:00
|
|
|
import { ScraperConfiguration } from '@ghostfolio/api/services/data-provider/ghostfolio-scraper-api/interfaces/scraper-configuration.interface';
|
2021-07-31 20:45:12 +02:00
|
|
|
import { Country } from '@ghostfolio/common/interfaces/country.interface';
|
2021-08-01 09:41:44 +02:00
|
|
|
import { Sector } from '@ghostfolio/common/interfaces/sector.interface';
|
2021-09-24 21:09:48 +02:00
|
|
|
import { AssetClass, AssetSubClass, DataSource } from '@prisma/client';
|
2021-07-31 20:45:12 +02:00
|
|
|
|
|
|
|
export interface EnhancedSymbolProfile {
|
2021-08-08 19:27:58 +02:00
|
|
|
assetClass: AssetClass;
|
2021-08-22 22:19:10 +02:00
|
|
|
assetSubClass: AssetSubClass;
|
2021-11-07 09:42:36 +01:00
|
|
|
countries: Country[];
|
2021-07-31 20:45:12 +02:00
|
|
|
createdAt: Date;
|
2021-09-24 21:09:48 +02:00
|
|
|
currency: string | null;
|
2021-07-31 20:45:12 +02:00
|
|
|
dataSource: DataSource;
|
|
|
|
id: string;
|
|
|
|
name: string | null;
|
2021-11-07 18:36:28 +01:00
|
|
|
scraperConfiguration?: ScraperConfiguration;
|
2021-07-31 20:45:12 +02:00
|
|
|
sectors: Sector[];
|
2021-11-07 09:42:36 +01:00
|
|
|
symbol: string;
|
|
|
|
symbolMapping?: { [key: string]: string };
|
|
|
|
updatedAt: Date;
|
2021-07-31 20:45:12 +02:00
|
|
|
}
|