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

export class UpdateAvatarOutputDTO {
  @ApiProperty()
  @IsBoolean()
  success: boolean = false;

  @ApiProperty({ required: false })
  @IsString()
  @IsOptional()
  error?: string;
}