summaryrefslogtreecommitdiff
path: root/app/graphql/types/jira_users_mapping_input_type.rb
blob: 61cf1474493cb9b74fe70606e6890ba5144b34e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Types
  # rubocop: disable Graphql/AuthorizeTypes
  class JiraUsersMappingInputType < BaseInputObject
    graphql_name 'JiraUsersMappingInputType'

    argument :jira_account_id,
               GraphQL::STRING_TYPE,
               required: true,
               description: 'Jira account id of the user'
    argument :gitlab_id,
               GraphQL::INT_TYPE,
               required: false,
               description: 'Id of the GitLab user'
  end
  # rubocop: enable Graphql/AuthorizeTypes
end