mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
20 lines
374 B
TypeScript
20 lines
374 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)
|
|
language?: string // Will default to DEFAULT_LANGUAGE
|
|
|
|
@Field(() => Int, { nullable: true })
|
|
publisherId: number
|
|
}
|