diff --git a/api-v3/src/survey-planning/dto/update-survey-target.dto.ts b/api-v3/src/survey-planning/dto/update-survey-target.dto.ts deleted file mode 100644 index b3c9acc..0000000 --- a/api-v3/src/survey-planning/dto/update-survey-target.dto.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Transform } from 'class-transformer'; -import { IsISO8601, IsOptional, IsString, MaxLength } from 'class-validator'; - -export class UpdateSurveyTargetDto { - @IsOptional() - @IsISO8601({ strict: true }) - dueAt?: string | null; - - @IsOptional() - @Transform(({ value }) => - typeof value === 'string' && value.trim() ? value.trim() : null, - ) - @IsString() - @MaxLength(4000) - instructions?: string | null; -}