feat(plugins/repositories): add plugin_repositories_pinned (#1100)
This commit is contained in:
34
source/plugins/repositories/queries/pinned.graphql
Normal file
34
source/plugins/repositories/queries/pinned.graphql
Normal file
@@ -0,0 +1,34 @@
|
||||
query RepositoriesPinned {
|
||||
user(login: "$login") {
|
||||
pinnedItems(types: REPOSITORY, first: $limit) {
|
||||
edges {
|
||||
node {
|
||||
... on Repository {
|
||||
createdAt
|
||||
description
|
||||
forkCount
|
||||
isFork
|
||||
issues {
|
||||
totalCount
|
||||
}
|
||||
nameWithOwner
|
||||
openGraphImageUrl
|
||||
licenseInfo {
|
||||
nickname
|
||||
spdxId
|
||||
name
|
||||
}
|
||||
pullRequests {
|
||||
totalCount
|
||||
}
|
||||
stargazerCount
|
||||
primaryLanguage {
|
||||
color
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user