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

details_type.rb « composer « packages « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c6845a6fb377c5060532a3a7bcb309827cfdd4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  module Packages
    module Composer
      class DetailsType < Types::Packages::PackageType
        graphql_name 'PackageComposerDetails'
        description 'Details of a Composer package'

        authorize :read_package

        field :composer_metadatum, Types::Packages::Composer::MetadatumType, null: false, description: 'The Composer metadatum.'
      end
    end
  end
end