summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci_configuration/sast/options_entity_type.rb
blob: 86d104a7fda4525c353255948684815846692a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      # rubocop: disable Graphql/AuthorizeTypes
      class OptionsEntityType < BaseObject
        graphql_name 'SastCiConfigurationOptionsEntity'
        description 'Represents an entity for options in SAST CI configuration'

        field :label, GraphQL::STRING_TYPE, null: true,
          description: 'Label of option entity.'

        field :value, GraphQL::STRING_TYPE, null: true,
          description: 'Value of option entity.'
      end
    end
  end
end