File

apps/recallassess/recallassess-api/src/api/admin/participant/dto/participant-reset-password.dto.ts

Index

Properties

Properties

password
Type : string
Decorators :
@Expose()
@IsString()
@IsNotEmpty()
@MinLength(8, {message: 'Password must be at least 8 characters long'})
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;
}

results matching ""

    No results matching ""