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

/**
 * Intentionally empty.
 *
 * With global ValidationPipe({ whitelist: true, forbidNonWhitelisted: true }),
 * any unexpected body keys will be rejected (prevents identity spoofing / junk payloads).
 */
export class LeagueSeasonSchedulePublishInputDTO {}

export class LeagueSeasonSchedulePublishOutputDTO {
  @ApiProperty()
  @IsBoolean()
  success!: boolean;

  @ApiProperty({ description: 'Whether the season schedule is published after this operation' })
  @IsBoolean()
  published!: boolean;
}