2021-06-08 01:23:25 +05:30
|
|
|
#import "../fragments/release.fragment.graphql"
|
2021-01-03 14:25:43 +05:30
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
# This query is identical to
|
|
|
|
# `app/graphql/queries/releases/all_releases.query.graphql`.
|
|
|
|
# These two queries should be kept in sync.
|
|
|
|
# When the `releases_index_apollo_client` feature flag is
|
|
|
|
# removed, this query should be removed entirely.
|
|
|
|
|
2021-12-11 22:18:48 +05:30
|
|
|
query allReleasesDeprecated(
|
2021-01-29 00:20:46 +05:30
|
|
|
$fullPath: ID!
|
|
|
|
$first: Int
|
|
|
|
$last: Int
|
|
|
|
$before: String
|
|
|
|
$after: String
|
|
|
|
$sort: ReleaseSort
|
|
|
|
) {
|
2020-11-24 15:15:51 +05:30
|
|
|
project(fullPath: $fullPath) {
|
2021-09-30 23:02:18 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-01-29 00:20:46 +05:30
|
|
|
releases(first: $first, last: $last, before: $before, after: $after, sort: $sort) {
|
2021-09-30 23:02:18 +05:30
|
|
|
__typename
|
2020-11-24 15:15:51 +05:30
|
|
|
nodes {
|
2021-01-03 14:25:43 +05:30
|
|
|
...Release
|
|
|
|
}
|
|
|
|
pageInfo {
|
2021-09-30 23:02:18 +05:30
|
|
|
__typename
|
2021-01-03 14:25:43 +05:30
|
|
|
startCursor
|
|
|
|
hasPreviousPage
|
|
|
|
hasNextPage
|
|
|
|
endCursor
|
2020-11-24 15:15:51 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|