add count in graphql query

This commit is contained in:
ogerly 2022-03-25 20:19:01 +01:00
parent 95e7aeacdc
commit db8e112648

View File

@ -3,15 +3,18 @@ import gql from 'graphql-tag'
export const listTransactionLinksAdmin = gql` export const listTransactionLinksAdmin = gql`
query ($currentPage: Int = 1, $pageSize: Int = 5, $userId: Int!) { query ($currentPage: Int = 1, $pageSize: Int = 5, $userId: Int!) {
listTransactionLinksAdmin(currentPage: $currentPage, pageSize: $pageSize, userId: $userId) { listTransactionLinksAdmin(currentPage: $currentPage, pageSize: $pageSize, userId: $userId) {
id linkCount
amount linkList {
holdAvailableAmount id
memo amount
code holdAvailableAmount
createdAt memo
validUntil code
redeemedAt createdAt
deletedAt validUntil
redeemedAt
deletedAt
}
} }
} }
` `