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

variable_interface.rb « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec68d3c987c9c54292a107bac657a07c25a157cd (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
27
28
29
30
31
# frozen_string_literal: true

module Types
  module Ci
    module VariableInterface
      include Types::BaseInterface

      graphql_name 'CiVariable'

      field :id, GraphQL::Types::ID,
            null: false,
            description: 'ID of the variable.'

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

      field :raw, GraphQL::Types::Boolean,
            null: true,
            description: 'Indicates whether the variable is raw.'

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

      field :variable_type, ::Types::Ci::VariableTypeEnum,
            null: true,
            description: 'Type of the variable.'
    end
  end
end