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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/variable_type.rb')
-rw-r--r--app/graphql/types/ci/variable_type.rb40
1 files changed, 0 insertions, 40 deletions
diff --git a/app/graphql/types/ci/variable_type.rb b/app/graphql/types/ci/variable_type.rb
deleted file mode 100644
index 63f89b6d207..00000000000
--- a/app/graphql/types/ci/variable_type.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-# frozen_string_literal: true
-
-module Types
- module Ci
- # rubocop: disable Graphql/AuthorizeTypes
- class VariableType < BaseObject
- 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 :value, GraphQL::Types::String, null: true,
- description: 'Value of the variable.'
-
- field :variable_type, ::Types::Ci::VariableTypeEnum, null: true,
- description: 'Type of the variable.'
-
- field :protected, GraphQL::Types::Boolean, null: true,
- description: 'Indicates whether the variable is protected.'
-
- field :masked, GraphQL::Types::Boolean, null: true,
- description: 'Indicates whether the variable is masked.'
-
- field :raw, GraphQL::Types::Boolean, null: true,
- description: 'Indicates whether the variable is raw.'
-
- field :environment_scope, GraphQL::Types::String, null: true,
- description: 'Scope defining the environments in which the variable can be used.'
-
- def environment_scope
- if object.respond_to?(:environment_scope)
- object.environment_scope
- end
- end
- end
- end
-end