Merge branch 'master' into codex/exiger-machineid-ou-composantid-dans-dtos

This commit is contained in:
MatthieuTD
2025-09-22 10:22:22 +02:00
committed by GitHub
4 changed files with 312 additions and 325 deletions

View File

@@ -90,4 +90,18 @@ export class UpdateMachineDto {
@IsOptional()
@IsString()
typeMachineId?: string;
}
}
export class ReconfigureMachineDto {
@IsOptional()
@IsArray()
@ValidateNested({ each: true })
@Type(() => MachineComponentSelectionDto)
componentSelections?: MachineComponentSelectionDto[];
@IsOptional()
@IsArray()
@ValidateNested({ each: true })
@Type(() => MachinePieceSelectionDto)
pieceSelections?: MachinePieceSelectionDto[];
}