📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
import { ApiProperty } from '@nestjs/swagger'
import { MaxLength, MinLength } from 'class-validator'
export class ResetPasswordDto {
@ApiProperty({
description: 'User password',
example: '%d7*c4W45p',
maxLength: 72,
minLength: 8,
})
@MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly newPassword: string
}