mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-27 18:11:54 -05:00
34 lines
624 B
GraphQL
34 lines
624 B
GraphQL
# import './fragments.graphql'
|
|
|
|
query Releases($name: String!, $owner: String!, $cursor: String) {
|
|
repository(name: $name, owner: $owner) {
|
|
releases(
|
|
first: 30
|
|
after: $cursor
|
|
orderBy: { field: CREATED_AT, direction: DESC }
|
|
) {
|
|
pageInfo {
|
|
...PageInfoParts
|
|
}
|
|
nodes {
|
|
tagName
|
|
description
|
|
name
|
|
author {
|
|
name
|
|
avatarUrl
|
|
}
|
|
publishedAt
|
|
url
|
|
releaseAssets(first: 30) {
|
|
nodes {
|
|
name
|
|
downloadUrl
|
|
downloadCount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|