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_configuration/sast')
-rw-r--r--app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb4
-rw-r--r--app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb8
-rw-r--r--app/graphql/types/ci_configuration/sast/entity_input_type.rb6
-rw-r--r--app/graphql/types/ci_configuration/sast/entity_type.rb12
-rw-r--r--app/graphql/types/ci_configuration/sast/options_entity_type.rb4
5 files changed, 17 insertions, 17 deletions
diff --git a/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb b/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb
index ccb72283cf6..68b9a63d8dc 100644
--- a/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb
+++ b/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb
@@ -7,10 +7,10 @@ module Types
graphql_name 'SastCiConfigurationAnalyzersEntityInput'
description 'Represents the analyzers entity in SAST CI configuration'
- argument :name, GraphQL::STRING_TYPE, required: true,
+ argument :name, GraphQL::Types::String, required: true,
description: 'Name of analyzer.'
- argument :enabled, GraphQL::BOOLEAN_TYPE, required: true,
+ argument :enabled, GraphQL::Types::Boolean, required: true,
description: 'State of the analyzer.'
argument :variables, [::Types::CiConfiguration::Sast::EntityInputType],
diff --git a/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb b/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb
index 3c6202ca7e0..9fdc7c1b000 100644
--- a/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb
+++ b/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb
@@ -8,16 +8,16 @@ module Types
graphql_name 'SastCiConfigurationAnalyzersEntity'
description 'Represents an analyzer entity in SAST CI configuration'
- field :name, GraphQL::STRING_TYPE, null: true,
+ field :name, GraphQL::Types::String, null: true,
description: 'Name of the analyzer.'
- field :label, GraphQL::STRING_TYPE, null: true,
+ field :label, GraphQL::Types::String, null: true,
description: 'Analyzer label used in the config UI.'
- field :enabled, GraphQL::BOOLEAN_TYPE, null: true,
+ field :enabled, GraphQL::Types::Boolean, null: true,
description: 'Indicates whether an analyzer is enabled.'
- field :description, GraphQL::STRING_TYPE, null: true,
+ field :description, GraphQL::Types::String, null: true,
description: 'Analyzer description that is displayed on the form.'
field :variables, ::Types::CiConfiguration::Sast::EntityType.connection_type, null: true,
diff --git a/app/graphql/types/ci_configuration/sast/entity_input_type.rb b/app/graphql/types/ci_configuration/sast/entity_input_type.rb
index 9fce120889b..f0e3c07d71f 100644
--- a/app/graphql/types/ci_configuration/sast/entity_input_type.rb
+++ b/app/graphql/types/ci_configuration/sast/entity_input_type.rb
@@ -7,13 +7,13 @@ module Types
graphql_name 'SastCiConfigurationEntityInput'
description 'Represents an entity in SAST CI configuration'
- argument :field, GraphQL::STRING_TYPE, required: true,
+ argument :field, GraphQL::Types::String, required: true,
description: 'CI keyword of entity.'
- argument :default_value, GraphQL::STRING_TYPE, required: true,
+ argument :default_value, GraphQL::Types::String, required: true,
description: 'Default value that is used if value is empty.'
- argument :value, GraphQL::STRING_TYPE, required: true,
+ argument :value, GraphQL::Types::String, required: true,
description: 'Current value of the entity.'
end
end
diff --git a/app/graphql/types/ci_configuration/sast/entity_type.rb b/app/graphql/types/ci_configuration/sast/entity_type.rb
index eeb9025391f..41b8575d99a 100644
--- a/app/graphql/types/ci_configuration/sast/entity_type.rb
+++ b/app/graphql/types/ci_configuration/sast/entity_type.rb
@@ -8,25 +8,25 @@ module Types
graphql_name 'SastCiConfigurationEntity'
description 'Represents an entity in SAST CI configuration'
- field :field, GraphQL::STRING_TYPE, null: true,
+ field :field, GraphQL::Types::String, null: true,
description: 'CI keyword of entity.'
- field :label, GraphQL::STRING_TYPE, null: true,
+ field :label, GraphQL::Types::String, null: true,
description: 'Label for entity used in the form.'
- field :type, GraphQL::STRING_TYPE, null: true,
+ field :type, GraphQL::Types::String, null: true,
description: 'Type of the field value.'
field :options, ::Types::CiConfiguration::Sast::OptionsEntityType.connection_type, null: true,
description: 'Different possible values of the field.'
- field :default_value, GraphQL::STRING_TYPE, null: true,
+ field :default_value, GraphQL::Types::String, null: true,
description: 'Default value that is used if value is empty.'
- field :description, GraphQL::STRING_TYPE, null: true,
+ field :description, GraphQL::Types::String, null: true,
description: 'Entity description that is displayed on the form.'
- field :value, GraphQL::STRING_TYPE, null: true,
+ field :value, GraphQL::Types::String, null: true,
description: 'Current value of the entity.'
field :size, ::Types::CiConfiguration::Sast::UiComponentSizeEnum, null: true,
diff --git a/app/graphql/types/ci_configuration/sast/options_entity_type.rb b/app/graphql/types/ci_configuration/sast/options_entity_type.rb
index 86d104a7fda..5f365807cfe 100644
--- a/app/graphql/types/ci_configuration/sast/options_entity_type.rb
+++ b/app/graphql/types/ci_configuration/sast/options_entity_type.rb
@@ -8,10 +8,10 @@ module Types
graphql_name 'SastCiConfigurationOptionsEntity'
description 'Represents an entity for options in SAST CI configuration'
- field :label, GraphQL::STRING_TYPE, null: true,
+ field :label, GraphQL::Types::String, null: true,
description: 'Label of option entity.'
- field :value, GraphQL::STRING_TYPE, null: true,
+ field :value, GraphQL::Types::String, null: true,
description: 'Value of option entity.'
end
end