mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
changes in /backend/
This commit is contained in:
parent
27d8570592
commit
d914781dfc
@ -24,6 +24,6 @@ export default class ContributionLinkArgs {
|
||||
@Field(() => Decimal, { nullable: true })
|
||||
maxAmountPerMonth: Decimal | null
|
||||
|
||||
@Field(() => Int)
|
||||
maxPerCycle: number
|
||||
@Field(() => Int, { nullable: true })
|
||||
maxPerCycle: number | null
|
||||
}
|
||||
|
||||
29
backend/src/graphql/arg/CreateContributionLinkArgs.ts
Normal file
29
backend/src/graphql/arg/CreateContributionLinkArgs.ts
Normal file
@ -0,0 +1,29 @@
|
||||
import { ArgsType, Field, InputType } from 'type-graphql'
|
||||
|
||||
@InputType()
|
||||
@ArgsType()
|
||||
export default class CreateContributionLinkArgs {
|
||||
@Field(() => String)
|
||||
validFrom: string
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
validTo: string | null
|
||||
|
||||
@Field(() => String)
|
||||
name: string
|
||||
|
||||
@Field(() => String)
|
||||
amount: string
|
||||
|
||||
@Field(() => String)
|
||||
memo: string
|
||||
|
||||
@Field(() => String)
|
||||
cycle: string
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
maxPerCycle: string | null
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
maxAmountPerMonth: string | null
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user