debian-mirror-gitlab/app/graphql/types/mutation_type.rb

20 lines
692 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
module Types
class MutationType < BaseObject
2018-11-18 11:00:15 +05:30
include Gitlab::Graphql::MountMutation
2018-11-08 19:23:39 +05:30
graphql_name "Mutation"
2019-09-30 21:07:59 +05:30
mount_mutation Mutations::AwardEmojis::Add
mount_mutation Mutations::AwardEmojis::Remove
mount_mutation Mutations::AwardEmojis::Toggle
mount_mutation Mutations::MergeRequests::SetWip, calls_gitaly: true
mount_mutation Mutations::Notes::Create::Note, calls_gitaly: true
mount_mutation Mutations::Notes::Create::DiffNote, calls_gitaly: true
mount_mutation Mutations::Notes::Create::ImageDiffNote, calls_gitaly: true
mount_mutation Mutations::Notes::Update
mount_mutation Mutations::Notes::Destroy
2018-11-08 19:23:39 +05:30
end
end