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

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

module Types
  module Ci
    class ConfigVariableType < BaseObject # rubocop:disable Graphql/AuthorizeTypes
      graphql_name 'CiConfigVariable'
      description 'CI/CD config variables.'

      field :key, GraphQL::Types::String,
            null: true,
            description: 'Name of the variable.'

      field :description, GraphQL::Types::String,
            null: true,
            description: 'Description for the CI/CD config variable.'

      field :value, GraphQL::Types::String,
            null: true,
            description: 'Value of the variable.'
    end
  end
end