mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-19 13:33:13 +02:00
8 lines
254 B
TypeScript
8 lines
254 B
TypeScript
|
|
import { PickType } from "@nestjs/mapped-types";
|
||
|
|
import { IsString } from "class-validator";
|
||
|
|
import { UserDTO } from "src/user/dto/user.dto";
|
||
|
|
|
||
|
|
export class UpdatePasswordDTO extends PickType(UserDTO, ["password"]) {
|
||
|
|
@IsString()
|
||
|
|
oldPassword: string;
|
||
|
|
}
|