feat: gérer l'ordre des champs personnalisés

This commit is contained in:
Matthieu
2025-10-28 18:08:08 +01:00
parent 635ea0e84e
commit 9f522a6dbb
15 changed files with 134 additions and 27 deletions

View File

@@ -36,6 +36,10 @@ export class CreateCustomFieldDto {
@IsOptional()
@IsArray()
options?: string[]; // Pour les champs de type SELECT
@IsOptional()
@IsInt()
orderIndex?: number;
}
export class UpdateCustomFieldDto {
@@ -54,6 +58,10 @@ export class UpdateCustomFieldDto {
@IsOptional()
@IsArray()
options?: string[];
@IsOptional()
@IsInt()
orderIndex?: number;
}
export class TypeMachineComponentRequirementDto {