Implemented the arguments for graphql.

This commit is contained in:
ogerly 2021-11-24 11:09:13 +01:00
parent cd12d621fe
commit e011d0a803

View File

@ -0,0 +1,16 @@
import { ArgsType, Field } from 'type-graphql'
@ArgsType()
export default class CreatePendingCreationArgs {
@Field(() => String)
email: string
@Field(() => Number)
amount: number
@Field(() => String)
note: string
@Field(() => Date)
creationDate: Date
}