Add query for listContributions.

This commit is contained in:
elweyn 2022-07-01 12:54:04 +02:00
parent 3ce80fc081
commit 7d23be6901

View File

@ -172,6 +172,24 @@ export const queryTransactionLink = gql`
}
`
export const listContributions = gql`
query (
$currentPage: Int = 1
$pageSize: Int = 5
$order: Order
$filterConfirmed: Boolean = false
) {
listContributions(
currentPage: $currentPage
pageSize: $pageSize
order: $order
filterConfirmed: $filterConfirmed
) {
amount
memo
}
}
`
// from admin interface
export const listUnconfirmedContributions = gql`