From 89f48dd82de59302ec9eef2faa4f4913cb311d2e Mon Sep 17 00:00:00 2001 From: enlineawork Date: Mon, 7 Sep 2026 23:16:14 -0300 Subject: [PATCH] F4: remove survey planning DTOs --- .../dto/list-survey-campaigns-query.dto.ts | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 api-v3/src/survey-planning/dto/list-survey-campaigns-query.dto.ts diff --git a/api-v3/src/survey-planning/dto/list-survey-campaigns-query.dto.ts b/api-v3/src/survey-planning/dto/list-survey-campaigns-query.dto.ts deleted file mode 100644 index fa37549..0000000 --- a/api-v3/src/survey-planning/dto/list-survey-campaigns-query.dto.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Type } from 'class-transformer'; -import { - IsEnum, - IsInt, - IsOptional, - IsString, - IsUUID, - Max, - MaxLength, - Min, -} from 'class-validator'; -import { SurveyCampaignStatus } from '../../database/entities'; - -export class ListSurveyCampaignsQueryDto { - @IsOptional() - @Type(() => Number) - @IsInt() - @Min(1) - page = 1; - - @IsOptional() - @Type(() => Number) - @IsInt() - @Min(1) - @Max(100) - pageSize = 25; - - @IsOptional() - @IsString() - @MaxLength(200) - search?: string; - - @IsOptional() - @IsEnum(SurveyCampaignStatus) - status?: SurveyCampaignStatus; - - @IsOptional() - @IsUUID('4') - coordinatorUserId?: string; -}