feat(f4): add editable INF narrative DTO

This commit is contained in:
2026-09-07 20:56:27 -03:00
parent 416aac335c
commit b8fde4c32d
@@ -0,0 +1,16 @@
import { Transform } from 'class-transformer';
import { IsOptional, IsString, MaxLength } from 'class-validator';
export class UpdateInspectionReportDto {
@IsOptional()
@Transform(({ value }) => typeof value === 'string' ? value.trim() || null : value)
@IsString()
@MaxLength(20000)
executiveSummary?: string | null;
@IsOptional()
@Transform(({ value }) => typeof value === 'string' ? value.trim() || null : value)
@IsString()
@MaxLength(40000)
description?: string | null;
}