Commit 2733b255 authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

Se agregaron modelos de datos

parent ee2efb84
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
export interface GetResetCode {
    email: string;
}
 No newline at end of file
+21 −0
Original line number Diff line number Diff line
import { ApiProperty } from "@nestjs/swagger";

export interface UserResetPasswordDto {
    email: string;
    resetCode: string;
    newPassword: string;
} 

export class UserResetPasswordBody {
    @ApiProperty()
    email: string;
    @ApiProperty()
    resetCode: string;
    @ApiProperty()
    newPassword: string;
}

export class UserRequestCodeBody {
    @ApiProperty()
    email: string;
}
 No newline at end of file