2021-03-17 21:11:29 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
module Boards
|
|
|
|
# Common arguments that we can be used to filter boards epics and issues
|
|
|
|
class BoardIssuableInputBaseType < BaseInputObject
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :label_name, [GraphQL::Types::String, null: true],
|
2021-03-17 21:11:29 +00:00
|
|
|
required: false,
|
|
|
|
description: 'Filter by label name.'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :author_username, GraphQL::Types::String,
|
2021-03-17 21:11:29 +00:00
|
|
|
required: false,
|
|
|
|
description: 'Filter by author username.'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :my_reaction_emoji, GraphQL::Types::String,
|
2021-03-17 21:11:29 +00:00
|
|
|
required: false,
|
2021-09-07 09:11:43 +00:00
|
|
|
description: 'Filter by reaction emoji applied by the current user. Wildcard values "NONE" and "ANY" are supported.'
|
2021-03-17 21:11:29 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|