gradido/backend/src/graphql/arg/CreateUserArgs.ts
2023-03-09 14:37:17 +01:00

23 lines
446 B
TypeScript

import { ArgsType, Field, Int } from 'type-graphql'
@ArgsType()
export default 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
}