diff options
Diffstat (limited to 'app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql')
-rw-r--r-- | app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql b/app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql index b5313f929f8..99864f7ad0c 100644 --- a/app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql +++ b/app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_package_details.query.graphql @@ -1,10 +1,4 @@ -query getPackageDetails( - $id: PackagesPackageID! - $first: Int - $last: Int - $after: String - $before: String -) { +query getPackageDetails($id: PackagesPackageID!) { package(id: $id) { id name @@ -62,31 +56,8 @@ query getPackageDetails( downloadPath } } - versions(after: $after, before: $before, first: $first, last: $last) { + versions { count - nodes { - id - name - canDestroy - createdAt - version - status - _links { - webPath - } - tags(first: 1) { - nodes { - id - name - } - } - } - pageInfo { - hasNextPage - hasPreviousPage - endCursor - startCursor - } } dependencyLinks { nodes { |