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

base_merge_request_resolver.rb « cycle_analytics « analytics « resolvers « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81b6f1f4e23e5c3326a6b9656f7edde6b5101c98 (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
25
26
27
# frozen_string_literal: true

module Resolvers
  module Analytics
    module CycleAnalytics
      class BaseMergeRequestResolver < BaseCountResolver
        type Types::Analytics::CycleAnalytics::MetricType, null: true

        argument :assignee_usernames, [GraphQL::Types::String],
          required: false,
          description: 'Usernames of users assigned to the merge request.'

        argument :author_username, GraphQL::Types::String,
          required: false,
          description: 'Username of the author of the merge request.'

        argument :milestone_title, GraphQL::Types::String,
          required: false,
          description: 'Milestone applied to the merge request.'

        argument :label_names, [GraphQL::Types::String],
          required: false,
          description: 'Labels applied to the merge request.'
      end
    end
  end
end