36 lines
1.2 KiB
Ruby
36 lines
1.2 KiB
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Types
|
||
|
module Boards
|
||
|
# rubocop: disable Graphql/AuthorizeTypes
|
||
|
class BoardIssueInputBaseType < BaseInputObject
|
||
|
argument :label_name, GraphQL::STRING_TYPE.to_list_type,
|
||
|
required: false,
|
||
|
description: 'Filter by label name'
|
||
|
|
||
|
argument :milestone_title, GraphQL::STRING_TYPE,
|
||
|
required: false,
|
||
|
description: 'Filter by milestone title'
|
||
|
|
||
|
argument :assignee_username, GraphQL::STRING_TYPE.to_list_type,
|
||
|
required: false,
|
||
|
description: 'Filter by assignee username'
|
||
|
|
||
|
argument :author_username, GraphQL::STRING_TYPE,
|
||
|
required: false,
|
||
|
description: 'Filter by author username'
|
||
|
|
||
|
argument :release_tag, GraphQL::STRING_TYPE,
|
||
|
required: false,
|
||
|
description: 'Filter by release tag'
|
||
|
|
||
|
argument :my_reaction_emoji, GraphQL::STRING_TYPE,
|
||
|
required: false,
|
||
|
description: 'Filter by reaction emoji'
|
||
|
end
|
||
|
# rubocop: enable Graphql/AuthorizeTypes
|
||
|
end
|
||
|
end
|
||
|
|
||
|
Types::Boards::BoardIssueInputBaseType.prepend_if_ee('::EE::Types::Boards::BoardIssueInputBaseType')
|