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

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

module Types
  module Security
    # rubocop: disable Graphql/AuthorizeTypes -- The resolver authorizes the request
    class CodequalityReportsComparerType < BaseObject
      graphql_name 'CodequalityReportsComparer'

      description 'Represents reports comparison for code quality.'

      field :status,
        type: CodequalityReportsComparer::ReportGenerationStatusEnum,
        null: true,
        description: 'Compared codequality report generation status.'

      field :report,
        type: CodequalityReportsComparer::ReportType,
        null: true,
        hash_key: :data,
        description: 'Compared codequality report.'
    end
    # rubocop: enable Graphql/AuthorizeTypes
  end
end