gradido/backend/src/graphql/arg/UnsecureLoginArgs.ts

14 lines
253 B
TypeScript

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