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

entity_input_type.rb « sast « ci_configuration « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39b3efb3db8825dfcd204f54713e322b59c5f875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      # rubocop: disable Graphql/AuthorizeTypes
      class EntityInputType < BaseInputObject
        graphql_name 'SastCiConfigurationEntityInput'
        description 'Represents an entity in SAST CI configuration'

        argument :field, GraphQL::STRING_TYPE, required: true,
          description: 'CI keyword of entity.'

        argument :default_value, GraphQL::STRING_TYPE, required: true,
          description: 'Default value that is used if value is empty.'

        argument :value, GraphQL::STRING_TYPE, required: true,
          description: 'Current value of the entity.'
      end
    end
  end
end