-
-
Save byaruhaf/93b46f642a8465f4cb20d64bea6dcb4d to your computer and use it in GitHub Desktop.
starredRepositories.graphql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query starredRepositories($repositories: Int = 10, $after: String, $releases: Int = 1) { | |
viewer { | |
starredRepositories(first: $repositories, after: $after, ownedByViewer: false, orderBy: {field: STARRED_AT, direction: DESC}) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
edges { | |
cursor | |
starredAt | |
node { | |
name | |
url | |
updatedAt | |
languages(first: 1, orderBy: {field: SIZE, direction: DESC}) { | |
nodes { | |
name | |
color | |
} | |
} | |
releases(last: $releases, orderBy: {field: CREATED_AT, direction: DESC}) { | |
nodes { | |
name | |
description | |
author { | |
login | |
} | |
tag { | |
id | |
} | |
url | |
isPrerelease | |
publishedAt | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment