import { IsString, Length } from 'class-validator'; export class ConfirmResetDto { @IsString() @Length(20, 256) token!: string; @IsString() @Length(12, 256) newPassword!: string; }