forked from Chatbot/v3-api
13 lines
260 B
TypeScript
13 lines
260 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsString, IsStrongPassword } from 'class-validator';
|
|
|
|
export class ResetPasswordDTO {
|
|
@ApiProperty()
|
|
@IsString()
|
|
resetToken: string;
|
|
|
|
@ApiProperty()
|
|
@IsStrongPassword()
|
|
newPassword: string;
|
|
}
|