summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-06-12 01:53:38 -0700
committerGravatar GitHub <noreply@github.com> 2025-06-12 01:53:38 -0700
commitc9adb09abc626cdcc35c345a635ad8c163fcff3e (patch)
tree93f78bf8e5910a044f96ed77aca498ac60ada804 /queries
parent179679633a9fc3317585167f86c87a7fe8394945 (diff)
parentb78875e2265339b58c7a67cc83e6db2988aa0d74 (diff)
downloadgithub-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.tar.gz
github-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.tar.zst
github-mirror-c9adb09abc626cdcc35c345a635ad8c163fcff3e.zip
Merge pull request #2 from ansg191/srht
Diffstat (limited to 'queries')
-rw-r--r--queries/github/gh_identity.graphql (renamed from queries/identity.graphql)0
-rw-r--r--queries/github/gh_list_repos.graphql (renamed from queries/list_repos.graphql)0
-rw-r--r--queries/srht/srht_list_repos.graphql11
3 files changed, 11 insertions, 0 deletions
diff --git a/queries/identity.graphql b/queries/github/gh_identity.graphql
index 8381490..8381490 100644
--- a/queries/identity.graphql
+++ b/queries/github/gh_identity.graphql
diff --git a/queries/list_repos.graphql b/queries/github/gh_list_repos.graphql
index d7d36b3..d7d36b3 100644
--- a/queries/list_repos.graphql
+++ b/queries/github/gh_list_repos.graphql
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
+ }
+ }
+ }
+}