feat: gérer l'ordre des champs personnalisés
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user