aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/identity/GetUserStatistic.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/pages/identity/GetUserStatistic.graphql')
-rw-r--r--webui/src/pages/identity/GetUserStatistic.graphql13
1 files changed, 13 insertions, 0 deletions
diff --git a/webui/src/pages/identity/GetUserStatistic.graphql b/webui/src/pages/identity/GetUserStatistic.graphql
new file mode 100644
index 00000000..318b860d
--- /dev/null
+++ b/webui/src/pages/identity/GetUserStatistic.graphql
@@ -0,0 +1,13 @@
+query GetUserStatistic($authorQuery: String!, $participantQuery: String!, $actionQuery: String!) {
+ repository {
+ authored: allBugs(query: $authorQuery) {
+ totalCount
+ },
+ participated: allBugs(query: $participantQuery) {
+ totalCount
+ }
+ actions: allBugs(query: $actionQuery) {
+ totalCount
+ }
+ }
+}