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