2021-09-24 21:09:48 +02:00
|
|
|
import { AssetClass, AssetSubClass, DataSource } from '@prisma/client';
|
2021-07-31 20:45:12 +02:00
|
|
|
|
2022-05-26 18:59:29 +02:00
|
|
|
import { Country } from './country.interface';
|
|
|
|
import { ScraperConfiguration } from './scraper-configuration.interface';
|
|
|
|
import { Sector } from './sector.interface';
|
|
|
|
|
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 21:25:18 +01:00
|
|
|
scraperConfiguration?: ScraperConfiguration | null;
|
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
|
|
|
}
|