Browse Source

docs(targets): position settings field documentation correctly

pull/8458/head
PJ 5 days ago
parent
commit
364c967957
  1. 9
      libs/common/src/lib/dtos/update-user-setting.dto.ts

9
libs/common/src/lib/dtos/update-user-setting.dto.ts

@ -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;

Loading…
Cancel
Save