Browse Source

docs(targets): position settings field documentation correctly

pull/8458/head
PJ 4 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()
performanceCalculationType?: PerformanceCalculationType;
/**
* 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.
*/
/** Desired asset-class allocation and tolerance for the global portfolio. */
@IsOptional()
@ValidateBy({
name: 'isValidPortfolioTargetsSettings',
@ -121,6 +118,10 @@ export class UpdateUserSettingDto {
})
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()
@IsOptional()
projectedTotalAmount?: number | null;

Loading…
Cancel
Save