summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/config/job_restriction_type.rb
blob: 891ba18dacc4d0655775639ab9b4e4394c70fb75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    module Config
      class JobRestrictionType < BaseObject
        graphql_name 'CiConfigJobRestriction'

        field :refs, [GraphQL::Types::String], null: true,
              description: 'The Git refs the job restriction applies to.'
      end
    end
  end
end