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

export class ReorderStagesDto {
  @ApiProperty({
    description: 'Stage IDs in desired order',
    type: [String],
  })
  @IsArray()
  @IsUUID('4', { each: true })
  stageIds: string[];
}
