import { IsNotEmpty, IsString, MaxLength } from 'class-validator'; export class SetAvatarRequestDto { /** id картинки, загруженной через POST /files */ @IsString() @IsNotEmpty() @MaxLength(64) fileId: string; }