mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Implemented the arguments for graphql.
This commit is contained in:
parent
cd12d621fe
commit
e011d0a803
16
backend/src/graphql/arg/CreatePendingCreationArgs.ts
Normal file
16
backend/src/graphql/arg/CreatePendingCreationArgs.ts
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user