mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
56 lines
975 B
GraphQL
56 lines
975 B
GraphQL
fragment balanceFields on Balance {
|
|
balance
|
|
balanceGDT
|
|
count
|
|
linkCount
|
|
}
|
|
|
|
fragment transactionFields on Transaction {
|
|
id
|
|
typeId
|
|
amount
|
|
balance
|
|
previousBalance
|
|
balanceDate
|
|
memo
|
|
linkedUser {
|
|
firstName
|
|
lastName
|
|
communityUuid
|
|
communityName
|
|
gradidoID
|
|
alias
|
|
}
|
|
decay {
|
|
decay
|
|
start
|
|
end
|
|
duration
|
|
}
|
|
linkId
|
|
}
|
|
|
|
query transactionsQuery($currentPage: Int = 1, $pageSize: Int = 25, $order: Order = DESC) {
|
|
transactionList(currentPage: $currentPage, pageSize: $pageSize, order: $order) {
|
|
balance {
|
|
...balanceFields
|
|
}
|
|
transactions {
|
|
...transactionFields
|
|
}
|
|
}
|
|
}
|
|
|
|
query transactionsUserCountQuery($currentPage: Int = 1, $pageSize: Int = 25, $order: Order = DESC) {
|
|
transactionList(currentPage: $currentPage, pageSize: $pageSize, order: $order) {
|
|
balance {
|
|
...balanceFields
|
|
}
|
|
transactions {
|
|
...transactionFields
|
|
}
|
|
}
|
|
communityStatistics {
|
|
totalUsers
|
|
}
|
|
} |