From de8795274329039c8fc5ee55a8ca6e894143d6ee Mon Sep 17 00:00:00 2001 From: enlineawork Date: Mon, 7 Sep 2026 23:15:29 -0300 Subject: [PATCH] F4: remove survey planning DTOs --- .../dto/add-survey-target.dto.ts | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 api-v3/src/survey-planning/dto/add-survey-target.dto.ts diff --git a/api-v3/src/survey-planning/dto/add-survey-target.dto.ts b/api-v3/src/survey-planning/dto/add-survey-target.dto.ts deleted file mode 100644 index 1842129..0000000 --- a/api-v3/src/survey-planning/dto/add-survey-target.dto.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Transform } from 'class-transformer'; -import { IsISO8601, IsOptional, IsString, IsUUID, MaxLength } from 'class-validator'; - -export class AddSurveyTargetDto { - @IsUUID('4') - assetId!: string; - - @IsOptional() - @IsUUID('4') - assignedUserId?: string | null; - - @IsOptional() - @IsISO8601({ strict: true }) - dueAt?: string | null; - - @IsOptional() - @Transform(({ value }) => - typeof value === 'string' && value.trim() ? value.trim() : null, - ) - @IsString() - @MaxLength(4000) - instructions?: string | null; -}