import { IsString, IsNotEmpty } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { VALID_THEME_IDS } from '../theme-definitions';

export class SetThemeDto {
  @ApiProperty({
    description: 'Theme ID to activate',
    example: 'crimson-power',
    enum: VALID_THEME_IDS,
  })
  @IsString()
  @IsNotEmpty()
  themeId: string;
}
