import { | |
IsEmail, | |
IsNotEmpty, | |
IsOptional, | |
IsString, | |
ValidateNested, | |
} from 'class-validator'; | |
export class UpdateProfileDto { | |
() | |
firstName: string; | |
() | |
lastName: string; | |
() | |
username: string; | |
() | |
email: string; | |
avatar: any; | |
ats: any; | |
} | |
export class updatePasswordDto { | |
() | |
password: string; | |
() | |
newPassword: string; | |
() | |
confirmPassword: string; | |
} | |
export class addRemoveFriendDto { | |
() | |
userId: string; | |
() | |
type: string; | |
} | |
export class validateEmailDto { | |
() | |
identifier: string; | |
} | |
export class NewsletterDto { | |
() | |
email: string; | |
} | |
export class validateEmailRegDto { | |
() | |
() | |
email: string; | |
} | |