Add achievements plugin (#182)

This commit is contained in:
Simon Lecoq
2021-03-12 14:33:07 +01:00
committed by GitHub
parent 161c0bd5bc
commit 7c43e871cd
16 changed files with 728 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
query AchievementsRanking {
repo_rank:search(query: "stars:>$stars", type: REPOSITORY, first: 0) {
repositoryCount
}
user_rank:search(query: "followers:>$followers", type: USER, first: 0) {
userCount
}
repo_total:search(query: "stars:>-1", type: REPOSITORY, first: 0) {
repositoryCount
}
user_total:search(query: "followers:>-1", type: USER, first: 0) {
userCount
}
}