mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
New Args definition for CreateContribution.
This commit is contained in:
parent
b95a8081fc
commit
5ebd0993d9
15
backend/src/graphql/arg/CreateContributionArgs.ts
Normal file
15
backend/src/graphql/arg/CreateContributionArgs.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { ArgsType, Field, InputType } from 'type-graphql'
|
||||
import Decimal from 'decimal.js-light'
|
||||
|
||||
@InputType()
|
||||
@ArgsType()
|
||||
export default class CreateContributionArgs {
|
||||
@Field(() => Decimal)
|
||||
amount: Decimal
|
||||
|
||||
@Field(() => String)
|
||||
memo: string
|
||||
|
||||
@Field(() => String)
|
||||
creationDate: string
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user