import { ApiProperty } from '@nestjs/swagger';

export type DriverProfileSocialPlatform = 'twitter' | 'youtube' | 'twitch' | 'discord';

export class DriverProfileSocialHandleDTO {
  @ApiProperty({ enum: ['twitter', 'youtube', 'twitch', 'discord'] })
  platform!: DriverProfileSocialPlatform;

  @ApiProperty()
  handle!: string;

  @ApiProperty()
  url!: string;
}