Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

493 B
Raw Blame
import { Activity, EnhancedAssetProfile } from '@ghostfolio/common/interfaces';

export interface ActivitiesTableItem
  extends
    Pick<
      Activity,
      | 'currency'
      | 'date'
      | 'fee'
      | 'quantity'
      | 'type'
      | 'unitPrice'
      | 'value'
      | 'valueInBaseCurrency'
    >,
    Partial<Pick<Activity, 'account' | 'comment' | 'error' | 'id' | 'tags'>> {
  assetProfile: Pick<
    EnhancedAssetProfile,
    'currency' | 'dataSource' | 'name' | 'symbol'
  >;
}