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

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

module Types
  # DeploymentTagType is a hash, authorized by the deployment
  # rubocop:disable Graphql/AuthorizeTypes
  class DeploymentTagType < BaseObject
    graphql_name 'DeploymentTag'
    description 'Tags for a given deployment'

    field :name,
          GraphQL::Types::String,
          description: 'Name of this git tag.'

    field :path,
          GraphQL::Types::String,
          description: 'Path for this tag.',
          hash_key: :path
  end
  # rubocop:enable Graphql/AuthorizeTypes
end