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

group_environment_scope_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: 3a3a5a3f59feb30e4e38afff3a68300e37554231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    class GroupEnvironmentScopeType < BaseObject
      graphql_name 'CiGroupEnvironmentScope'
      description 'Ci/CD environment scope for a group.'

      connection_type_class(Types::Ci::GroupEnvironmentScopeConnectionType)

      field :name, GraphQL::Types::String,
        null: true,
        description: 'Scope name defininig the enviromnments that can use the variable.'
    end
    # rubocop: enable Graphql/AuthorizeTypes
  end
end