feat(plugins/notable): add issues, prs and relative stars badges (#841)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
query NotableContributions {
|
||||
user(login: "$login") {
|
||||
repositoriesContributedTo($after first: $repositories, contributionTypes: COMMIT, orderBy: { field: STARGAZERS, direction: DESC }) {
|
||||
repositoriesContributedTo($after first: $repositories, contributionTypes: [$types], orderBy: { field: STARGAZERS, direction: DESC }) {
|
||||
edges {
|
||||
cursor
|
||||
node {
|
||||
@@ -19,6 +19,12 @@ query NotableContributions {
|
||||
stargazers {
|
||||
totalCount
|
||||
}
|
||||
issues {
|
||||
totalCount
|
||||
}
|
||||
pullRequests {
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user