summaryrefslogtreecommitdiff
path: root/app/graphql/types/issues/negated_issue_filter_input_type.rb
blob: 88faf7e70741305ba5934de4d6bf2cdc348b5174 (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 Types
  module Issues
    class NegatedIssueFilterInputType < BaseInputObject
      graphql_name 'NegatedIssueFilterInput'

      argument :iids, [GraphQL::STRING_TYPE],
                required: false,
                description: 'List of IIDs of issues to exclude. For example, `[1, 2]`.'
      argument :label_name, [GraphQL::STRING_TYPE],
                required: false,
                description: 'Labels not applied to this issue.'
      argument :milestone_title, [GraphQL::STRING_TYPE],
                required: false,
                description: 'Milestone not applied to this issue.'
      argument :assignee_usernames, [GraphQL::STRING_TYPE],
                required: false,
                description: 'Usernames of users not assigned to the issue.'
      argument :assignee_id, GraphQL::STRING_TYPE,
                required: false,
                description: 'ID of a user not assigned to the issues.'
    end
  end
end

Types::Issues::NegatedIssueFilterInputType.prepend_mod_with('Types::Issues::NegatedIssueFilterInputType')