blob: 5b5890fd5a56c806618c3ec8a632aaf260d77011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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.'
field :value_options, [GraphQL::Types::String],
null: true,
description: 'Value options for the variable.'
end
end
end
|