summaryrefslogtreecommitdiff
path: root/queries/srht/srht_list_repos.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'queries/srht/srht_list_repos.graphql')
-rw-r--r--queries/srht/srht_list_repos.graphql11
1 files changed, 11 insertions, 0 deletions
diff --git a/queries/srht/srht_list_repos.graphql b/queries/srht/srht_list_repos.graphql
new file mode 100644
index 0000000..ffbbd45
--- /dev/null
+++ b/queries/srht/srht_list_repos.graphql
@@ -0,0 +1,11 @@
+query GetUserRepos($username: String!, $cursor: Cursor) {
+ user(username: $username) {
+ canonicalName
+ repositories(filter: { count: 10 }, cursor: $cursor) {
+ cursor
+ results {
+ name
+ }
+ }
+ }
+}