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