Remove ownerAffiliations: OWNER constraint and add option to include forks (#61)
This commit is contained in:
@@ -8,7 +8,7 @@ query Metrics {
|
||||
websiteUrl
|
||||
isHireable
|
||||
twitterUsername
|
||||
repositories(last: 0, isFork: false, ownerAffiliations: OWNER) {
|
||||
repositories(last: 0 $forks) {
|
||||
totalCount
|
||||
totalDiskUsage
|
||||
nodes {
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
query Repositories {
|
||||
user(login: "$login") {
|
||||
repositories($after first: $repositories, isFork: false, ownerAffiliations: OWNER, orderBy: {field: UPDATED_AT, direction: DESC}) {
|
||||
repositories($after first: $repositories $forks, orderBy: {field: UPDATED_AT, direction: DESC}) {
|
||||
edges {
|
||||
cursor
|
||||
}
|
||||
nodes {
|
||||
name
|
||||
owner {
|
||||
login
|
||||
}
|
||||
isFork
|
||||
watchers {
|
||||
totalCount
|
||||
}
|
||||
|
||||
@@ -2,6 +2,10 @@ query Repository {
|
||||
user(login: "$login") {
|
||||
repository(name: "$repo") {
|
||||
name
|
||||
owner {
|
||||
login
|
||||
}
|
||||
isFork
|
||||
createdAt
|
||||
diskUsage
|
||||
homepageUrl
|
||||
|
||||
@@ -14,6 +14,7 @@ query Starred {
|
||||
openGraphImageUrl
|
||||
licenseInfo {
|
||||
nickname
|
||||
spdxId
|
||||
name
|
||||
}
|
||||
pullRequests {
|
||||
|
||||
Reference in New Issue
Block a user