mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
7 changed files with 68 additions and 20 deletions
@ -1 +1,2 @@ |
|||
export * from './activities-table.component'; |
|||
export * from './interfaces/interfaces'; |
|||
|
|||
@ -0,0 +1,21 @@ |
|||
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' |
|||
>; |
|||
} |
|||
@ -1 +1,2 @@ |
|||
export * from './holdings-table.component'; |
|||
export * from './interfaces/interfaces'; |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
import { PortfolioPosition } from '@ghostfolio/common/interfaces'; |
|||
|
|||
export interface HoldingsTableItem |
|||
extends |
|||
Pick< |
|||
PortfolioPosition, |
|||
| 'allocationInPercentage' |
|||
| 'assetProfile' |
|||
| 'dateOfFirstActivity' |
|||
| 'netPerformancePercentWithCurrencyEffect' |
|||
>, |
|||
Partial< |
|||
Pick< |
|||
PortfolioPosition, |
|||
'netPerformanceWithCurrencyEffect' | 'quantity' | 'valueInBaseCurrency' |
|||
> |
|||
> {} |
|||
Loading…
Reference in new issue