import { ApiProperty } from '@nestjs/swagger';
import { IsArray, IsUUID } from 'class-validator';

export class ReorderFieldsDto {
  @ApiProperty({ description: 'Ordered array of field IDs' })
  @IsArray()
  @IsUUID('4', { each: true })
  fieldIds: string[];
}
