feat: add user operations to backend

This commit is contained in:
Elias Schneider
2022-12-05 10:02:19 +01:00
parent e9526fc039
commit 31b3f6cb2f
11 changed files with 176 additions and 81 deletions

View File

@@ -0,0 +1,6 @@
import { OmitType, PartialType } from "@nestjs/mapped-types";
import { UserDTO } from "./user.dto";
export class UpdateOwnUserDTO extends PartialType(
OmitType(UserDTO, ["isAdmin"] as const)
) {}