Files
ulitka/src/modules/user/presentation/dto/set-avatar.dto.ts
T
vadim 46903e9ec5
Gitea Actions / Deploy (push) Successful in 1m52s
avatar
2026-10-23 19:26:26 +03:00

10 lines
246 B
TypeScript

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