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

23 lines
438 B
TypeScript

import { ArgsType, Field, Int } from 'type-graphql'
@ArgsType()
export class CreateUserArgs {
@Field(() => String)
email: string
@Field(() => String)
firstName: string
@Field(() => String)
lastName: string
@Field(() => String, { nullable: true })
language?: string | null
@Field(() => Int, { nullable: true })
publisherId?: number | null
@Field(() => String, { nullable: true })
redeemCode?: string | null
}