-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add initial rollups query to feed input details
- Loading branch information
1 parent
b4e49df
commit f313cdd
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
query inputDetails ( | ||
$inputIdx: Int! | ||
$first: Int! | ||
$noticesNextPage: String | ||
$noticesPrevPage: String | ||
$reportNextPage: String | ||
$reportPrevPage: String | ||
$voucherNextPage: String | ||
$voucherPrevPage: String | ||
) { | ||
input(index: $inputIdx){ | ||
vouchers(first: $first, after: $voucherNextPage, before: $voucherPrevPage) { | ||
totalCount | ||
edges { | ||
node { | ||
index | ||
payload | ||
} | ||
cursor | ||
} | ||
pageInfo { | ||
startCursor | ||
endCursor | ||
hasNextPage | ||
hasPreviousPage | ||
} | ||
} | ||
notices(first: $first, after: $noticesNextPage, before: $noticesPrevPage){ | ||
totalCount | ||
edges { | ||
node { | ||
index | ||
payload | ||
} | ||
cursor | ||
} | ||
pageInfo { | ||
startCursor | ||
endCursor | ||
hasNextPage | ||
hasPreviousPage | ||
} | ||
} | ||
reports(first: $first, after: $reportNextPage, before: $reportPrevPage) { | ||
totalCount | ||
edges { | ||
node { | ||
index | ||
payload | ||
} | ||
cursor | ||
} | ||
pageInfo { | ||
startCursor | ||
endCursor | ||
hasNextPage | ||
hasPreviousPage | ||
} | ||
} | ||
} | ||
} |