mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
45 lines
787 B
JavaScript
45 lines
787 B
JavaScript
import gql from 'graphql-tag'
|
|
|
|
export const transactionList = gql`
|
|
query (
|
|
$currentPage: Int = 1
|
|
$pageSize: Int = 25
|
|
$order: Order = DESC
|
|
$onlyCreations: Boolean = false
|
|
$userId: Int = null
|
|
) {
|
|
transactionList(
|
|
currentPage: $currentPage
|
|
pageSize: $pageSize
|
|
order: $order
|
|
onlyCreations: $onlyCreations
|
|
userId: $userId
|
|
) {
|
|
gdtSum
|
|
count
|
|
balance
|
|
decay
|
|
decayDate
|
|
transactions {
|
|
type
|
|
balance
|
|
decayStart
|
|
decayEnd
|
|
decayDuration
|
|
memo
|
|
transactionId
|
|
name
|
|
email
|
|
date
|
|
decay {
|
|
balance
|
|
decayStart
|
|
decayEnd
|
|
decayDuration
|
|
decayStartBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|