|
|
@ -6,6 +6,7 @@ import type { |
|
|
|
HoldingsViewMode, |
|
|
|
ViewMode |
|
|
|
} from '@ghostfolio/common/types'; |
|
|
|
import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type'; |
|
|
|
|
|
|
|
import { |
|
|
|
IsArray, |
|
|
@ -117,4 +118,8 @@ export class UpdateUserSettingDto { |
|
|
|
|
|
|
|
@IsOptional() |
|
|
|
xRayRules?: XRayRulesSettings; |
|
|
|
|
|
|
|
@IsIn(['TWR', 'ROI', 'ROAI', 'MWR'] as PerformanceCalculationType[]) |
|
|
|
@IsOptional() |
|
|
|
performanceCalculationType?: PerformanceCalculationType; |
|
|
|
} |
|
|
|