Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/packages/package_details_type.rb')
-rw-r--r--app/graphql/types/packages/package_details_type.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/app/graphql/types/packages/package_details_type.rb b/app/graphql/types/packages/package_details_type.rb
index 444ecb5e792..ae57e103f40 100644
--- a/app/graphql/types/packages/package_details_type.rb
+++ b/app/graphql/types/packages/package_details_type.rb
@@ -4,26 +4,19 @@ module Types
module Packages
class PackageDetailsType < PackageType
graphql_name 'PackageDetailsType'
- description 'Represents a package details in the Package Registry. Note that this type is in beta and susceptible to changes'
+ description 'Represents a package details in the Package Registry'
include ::PackagesHelper
authorize :read_package
- field :versions, ::Types::Packages::PackageType.connection_type, null: true,
+ field :versions, ::Types::Packages::PackageBaseType.connection_type, null: true,
description: 'Other versions of the package.'
field :package_files, Types::Packages::PackageFileType.connection_type, null: true, method: :installable_package_files, description: 'Package files.'
field :dependency_links, Types::Packages::PackageDependencyLinkType.connection_type, null: true, description: 'Dependency link.'
- # this is an override of Types::Packages::PackageType.pipelines
- # in order to use a custom resolver: Resolvers::PackagePipelinesResolver
- field :pipelines,
- resolver: Resolvers::PackagePipelinesResolver,
- description: 'Pipelines that built the package.',
- deprecated: { reason: 'Due to scalability concerns, this field is going to be removed', milestone: '14.6' }
-
field :composer_config_repository_url, GraphQL::Types::String, null: true, description: 'Url of the Composer setup endpoint.'
field :composer_url, GraphQL::Types::String, null: true, description: 'Url of the Composer endpoint.'
field :conan_url, GraphQL::Types::String, null: true, description: 'Url of the Conan project endpoint.'