mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-17 12:43:13 +02:00
7 lines
199 B
TypeScript
7 lines
199 B
TypeScript
|
|
import { OmitType, PartialType } from "@nestjs/mapped-types";
|
||
|
|
import { UserDTO } from "./user.dto";
|
||
|
|
|
||
|
|
export class UpdateOwnUserDTO extends PartialType(
|
||
|
|
OmitType(UserDTO, ["isAdmin"] as const)
|
||
|
|
) {}
|