|
|
@ -107,10 +107,7 @@ export class UpdateUserSettingDto { |
|
|
@IsOptional() |
|
|
@IsOptional() |
|
|
performanceCalculationType?: PerformanceCalculationType; |
|
|
performanceCalculationType?: PerformanceCalculationType; |
|
|
|
|
|
|
|
|
/** |
|
|
/** Desired asset-class allocation and tolerance for the global portfolio. */ |
|
|
* The target financial amount the user aims to reach before retiring. |
|
|
|
|
|
* Can be explicitly set to null to clear the value and calculate it dynamically. |
|
|
|
|
|
*/ |
|
|
|
|
|
@IsOptional() |
|
|
@IsOptional() |
|
|
@ValidateBy({ |
|
|
@ValidateBy({ |
|
|
name: 'isValidPortfolioTargetsSettings', |
|
|
name: 'isValidPortfolioTargetsSettings', |
|
|
@ -121,6 +118,10 @@ export class UpdateUserSettingDto { |
|
|
}) |
|
|
}) |
|
|
portfolioTargets?: PortfolioTargetsSettings; |
|
|
portfolioTargets?: PortfolioTargetsSettings; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* The target financial amount the user aims to reach before retiring. |
|
|
|
|
|
* Can be explicitly set to null to clear the value and calculate it dynamically. |
|
|
|
|
|
*/ |
|
|
@IsNumber() |
|
|
@IsNumber() |
|
|
@IsOptional() |
|
|
@IsOptional() |
|
|
projectedTotalAmount?: number | null; |
|
|
projectedTotalAmount?: number | null; |
|
|
|