ghostfolio/apps/api/src/services/interfaces/symbol-profile.interface.ts

19 lines
558 B
TypeScript
Raw Normal View History

import { Country } from '@ghostfolio/common/interfaces/country.interface';
2021-08-01 09:41:44 +02:00
import { Sector } from '@ghostfolio/common/interfaces/sector.interface';
import { AssetClass, AssetSubClass, DataSource } from '@prisma/client';
export interface EnhancedSymbolProfile {
assetClass: AssetClass;
assetSubClass: AssetSubClass;
countries: Country[];
createdAt: Date;
currency: string | null;
dataSource: DataSource;
id: string;
name: string | null;
sectors: Sector[];
symbol: string;
symbolMapping?: { [key: string]: string };
updatedAt: Date;
}