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

14 lines
253 B
TypeScript

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