summaryrefslogtreecommitdiff
path: root/app/graphql/types/jira_users_mapping_input_type.rb
blob: 0c26ea87df27ce50a005f8e736a097a1a77d3731 (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