mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
32 lines
574 B
JavaScript
32 lines
574 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
|
|
) {
|
|
transactions {
|
|
id
|
|
amount
|
|
balanceDate
|
|
creationDate
|
|
memo
|
|
linkedUser {
|
|
firstName
|
|
lastName
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|