@arsendoman/book-publisher-store
Version:
A Nest.js package for book publishing and storing
30 lines (28 loc) • 709 B
text/typescript
import { ApiProperty } from '@nestjs/swagger';
import { Role } from 'src/core/entities';
import { IsArray, IsEmail, IsNotEmpty } from 'class-validator';
import { BookCategoryEnum } from '../../../../core/enums/book.category.enum';
export class ProfileDto {
()
()
()
readonly email: string;
()
()
readonly password: string;
()
()
readonly username: string;
()
()
readonly bio: string;
()
()
readonly image: string;
()
()
readonly role: Role;
()
()
readonly favoriteCategories: BookCategoryEnum[];
}