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

abuse_report_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 012e709cdb51dc2b5a6f60c32245123c565485c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Types
  class AbuseReportType < BaseObject
    graphql_name 'AbuseReport'
    description 'An abuse report'
    authorize :read_abuse_report

    field :labels, ::Types::LabelType.connection_type,
      null: true, description: 'Labels of the abuse report.'
  end
end