debian-mirror-gitlab/app/graphql/mutations/boards/common_mutation_arguments.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
731 B
Ruby
Raw Normal View History

2021-02-22 17:27:13 +05:30
# frozen_string_literal: true
module Mutations
module Boards
module CommonMutationArguments
extend ActiveSupport::Concern
included do
argument :name,
2021-10-27 15:23:28 +05:30
GraphQL::Types::String,
2021-02-22 17:27:13 +05:30
required: false,
2021-10-27 15:23:28 +05:30
description: 'Board name.'
2021-02-22 17:27:13 +05:30
argument :hide_backlog_list,
2021-10-27 15:23:28 +05:30
GraphQL::Types::Boolean,
2021-02-22 17:27:13 +05:30
required: false,
description: copy_field_description(Types::BoardType, :hide_backlog_list)
argument :hide_closed_list,
2021-10-27 15:23:28 +05:30
GraphQL::Types::Boolean,
2021-02-22 17:27:13 +05:30
required: false,
description: copy_field_description(Types::BoardType, :hide_closed_list)
end
end
end
end