apps/recallassess/recallassess-api/src/api/admin/participant/dto/participant-reset-password.dto.ts
Properties |
| password |
Type : string
|
Decorators :
@Expose()
|
import { IsNotEmpty, IsString, MinLength } from "class-validator";
import {Expose, Exclude} from "class-transformer";
@Exclude()
export class ParticipantResetPasswordDto {
@Expose()
@IsString()
@IsNotEmpty()
@MinLength(8, { message: "Password must be at least 8 characters long" })
password!: string;
}