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

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

module Types
  module Packages
    module Helm
      # rubocop: disable Graphql/AuthorizeTypes
      class MaintainerType < BaseObject
        graphql_name 'PackageHelmMaintainerType'
        description 'Represents a Helm maintainer'

        # Need to be synced with app/validators/json_schemas/helm_metadata.json#maintainers
        field :name, GraphQL::Types::String, null: true, description: 'Name of the maintainer.'
        field :email, GraphQL::Types::String, null: true, description: 'Email of the maintainer.'
        field :url, GraphQL::Types::String, null: true, description: 'URL of the maintainer.'
      end
    end
  end
end