Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

355 B
Raw Blame
import { ApiProperty } from '@nestjs/swagger'
import { IsEmail } from 'class-validator'

export class RequestResetPasswordDto {
  @ApiProperty({
    description: 'User email',
    example: '[email protected]',
    maxLength: 254,
    minLength: 6,
  })
  @IsEmail({}, { message: 'Please enter the valid email.' })
  public readonly email: string
}