gradido/backend/src/graphql/arg/UpdateUserInfosArgs.ts
2023-03-31 12:48:09 +02:00

29 lines
538 B
TypeScript

import { ArgsType, Field, Int } from 'type-graphql'
@ArgsType()
export class UpdateUserInfosArgs {
@Field({ nullable: true })
firstName?: string
@Field({ nullable: true })
lastName?: string
@Field({ nullable: true })
language?: string
@Field(() => Int, { nullable: true })
publisherId?: number | null
@Field({ nullable: true })
password?: string
@Field({ nullable: true })
passwordNew?: string
@Field({ nullable: true })
hideAmountGDD?: boolean
@Field({ nullable: true })
hideAmountGDT?: boolean
}