mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
23 lines
446 B
TypeScript
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
|
|
}
|