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

14 lines
261 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 | null
}