import { ApiProperty } from '@nestjs/swagger';
import { IsEnum } from 'class-validator';

export class UpdateLeagueMemberRoleInputDTO {
  @ApiProperty({ enum: ['owner', 'admin', 'steward', 'member'] })
  @IsEnum(['owner', 'admin', 'steward', 'member'])
  newRole!: 'owner' | 'admin' | 'steward' | 'member';
}