File tree Expand file tree Collapse file tree
api/src/dtos/multiselect-questions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,16 +14,19 @@ import { ValidationMethod } from '../../enums/multiselect-questions/validation-m
1414import { ValidationsGroupsEnum } from '../../enums/shared/validation-groups-enum' ;
1515
1616export class MultiselectOption extends AbstractDTO {
17+ // TODO: This will be sunseted after MSQ refactor
1718 @Expose ( )
1819 @IsBoolean ( { groups : [ ValidationsGroupsEnum . default ] } )
1920 @ApiPropertyOptional ( )
2021 collectAddress ?: boolean ;
2122
23+ // TODO: This will be sunseted after MSQ refactor
2224 @Expose ( )
2325 @IsBoolean ( { groups : [ ValidationsGroupsEnum . default ] } )
2426 @ApiPropertyOptional ( )
2527 collectName ?: boolean ;
2628
29+ // TODO: This will be sunseted after MSQ refactor
2730 @Expose ( )
2831 @IsBoolean ( { groups : [ ValidationsGroupsEnum . default ] } )
2932 @ApiPropertyOptional ( )
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ class MultiselectQuestion extends AbstractDTO {
5454 @ApiPropertyOptional ( { type : IdDTO } )
5555 jurisdiction ?: IdDTO ;
5656
57+ // TODO: This will be sunseted after MSQ refactor but still required at the moment
5758 @Expose ( )
5859 @IsDefined ( { groups : [ ValidationsGroupsEnum . default ] } )
5960 @Type ( ( ) => IdDTO )
@@ -89,6 +90,7 @@ class MultiselectQuestion extends AbstractDTO {
8990 @ApiPropertyOptional ( { type : MultiselectOption , isArray : true } )
9091 options ?: MultiselectOption [ ] ;
9192
93+ // TODO: This will be sunseted after MSQ refactor
9294 @Expose ( )
9395 @IsString ( { groups : [ ValidationsGroupsEnum . default ] } )
9496 @ApiPropertyOptional ( )
@@ -111,6 +113,7 @@ class MultiselectQuestion extends AbstractDTO {
111113 @ApiPropertyOptional ( )
112114 subText ?: string ;
113115
116+ // TODO: This will be sunseted after MSQ refactor but still required at the moment
114117 @Expose ( )
115118 @IsDefined ( { groups : [ ValidationsGroupsEnum . default ] } )
116119 @IsString ( { groups : [ ValidationsGroupsEnum . default ] } )
@@ -122,6 +125,7 @@ class MultiselectQuestion extends AbstractDTO {
122125 @ApiPropertyOptional ( )
123126 untranslatedName ?: string ;
124127
128+ // TODO: This will be sunseted after MSQ refactor
125129 @Expose ( )
126130 @IsString ( { groups : [ ValidationsGroupsEnum . default ] } )
127131 @ApiPropertyOptional ( )
You can’t perform that action at this time.
0 commit comments