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

export class TriggerWipeDto {
  @ApiProperty({ example: 'map', enum: ['map', 'blueprint', 'full'] })
  @IsEnum(['map', 'blueprint', 'full'])
  wipe_type: 'map' | 'blueprint' | 'full';

  @ApiPropertyOptional({ example: '550e8400-e29b-41d4-a716-446655440000' })
  @IsOptional()
  @IsUUID()
  wipe_profile_id?: string;
}
