2021-09-30 23:02:18 +05:30
|
|
|
# This query is identical to
|
|
|
|
# `app/assets/javascripts/releases/graphql/queries/all_releases.query.graphql`.
|
|
|
|
# These two queries should be kept in sync.
|
|
|
|
query allReleases(
|
|
|
|
$fullPath: ID!
|
|
|
|
$first: Int
|
|
|
|
$last: Int
|
|
|
|
$before: String
|
|
|
|
$after: String
|
|
|
|
$sort: ReleaseSort
|
|
|
|
) {
|
|
|
|
project(fullPath: $fullPath) {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-09-30 23:02:18 +05:30
|
|
|
releases(first: $first, last: $last, before: $before, after: $after, sort: $sort) {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
name
|
|
|
|
tagName
|
|
|
|
tagPath
|
|
|
|
descriptionHtml
|
|
|
|
releasedAt
|
|
|
|
createdAt
|
|
|
|
upcomingRelease
|
|
|
|
assets {
|
|
|
|
__typename
|
|
|
|
count
|
|
|
|
sources {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
format
|
|
|
|
url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
links {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
name
|
|
|
|
url
|
|
|
|
directAssetUrl
|
|
|
|
linkType
|
|
|
|
external
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
evidences {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-09-30 23:02:18 +05:30
|
|
|
filepath
|
|
|
|
collectedAt
|
|
|
|
sha
|
|
|
|
}
|
|
|
|
}
|
|
|
|
links {
|
|
|
|
__typename
|
|
|
|
editUrl
|
|
|
|
selfUrl
|
|
|
|
openedIssuesUrl
|
|
|
|
closedIssuesUrl
|
|
|
|
openedMergeRequestsUrl
|
|
|
|
mergedMergeRequestsUrl
|
|
|
|
closedMergeRequestsUrl
|
|
|
|
}
|
|
|
|
commit {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-09-30 23:02:18 +05:30
|
|
|
sha
|
|
|
|
webUrl
|
|
|
|
title
|
|
|
|
}
|
|
|
|
author {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-09-30 23:02:18 +05:30
|
|
|
webUrl
|
|
|
|
avatarUrl
|
|
|
|
username
|
|
|
|
}
|
|
|
|
milestones {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
title
|
|
|
|
description
|
|
|
|
webPath
|
|
|
|
stats {
|
|
|
|
__typename
|
|
|
|
totalIssuesCount
|
|
|
|
closedIssuesCount
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
__typename
|
|
|
|
startCursor
|
|
|
|
hasPreviousPage
|
|
|
|
hasNextPage
|
|
|
|
endCursor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|