mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
28 lines
543 B
JavaScript
28 lines
543 B
JavaScript
import gql from 'graphql-tag'
|
|
|
|
export const createContributionLink = gql`
|
|
mutation (
|
|
$validFrom: String!
|
|
$validTo: String!
|
|
$name: String!
|
|
$amount: Decimal!
|
|
$memo: String!
|
|
$cycle: String!
|
|
$maxPerCycle: Int! = 1
|
|
$maxAmountPerMonth: Decimal
|
|
) {
|
|
createContributionLink(
|
|
validFrom: $validFrom
|
|
validTo: $validTo
|
|
name: $name
|
|
amount: $amount
|
|
memo: $memo
|
|
cycle: $cycle
|
|
maxPerCycle: $maxPerCycle
|
|
maxAmountPerMonth: $maxAmountPerMonth
|
|
) {
|
|
link
|
|
}
|
|
}
|
|
`
|