F4: remove survey planning DTOs

This commit is contained in:
2026-09-07 23:15:29 -03:00
parent 0bab3e5b70
commit de87952743
@@ -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;
}