2018-07-10 14:19:45 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-23 07:55:14 +00:00
|
|
|
module Types
|
|
|
|
class MutationType < BaseObject
|
2018-07-10 14:19:45 +00:00
|
|
|
include Gitlab::Graphql::MountMutation
|
|
|
|
|
2018-05-23 07:55:14 +00:00
|
|
|
graphql_name "Mutation"
|
2017-08-16 13:04:41 +00:00
|
|
|
|
2019-06-21 04:45:27 +00:00
|
|
|
mount_mutation Mutations::AwardEmojis::Add
|
|
|
|
mount_mutation Mutations::AwardEmojis::Remove
|
|
|
|
mount_mutation Mutations::AwardEmojis::Toggle
|
2019-12-03 18:06:49 +00:00
|
|
|
mount_mutation Mutations::Issues::SetConfidential
|
2019-11-25 18:06:04 +00:00
|
|
|
mount_mutation Mutations::Issues::SetDueDate
|
2019-11-15 06:06:13 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::SetLabels
|
|
|
|
mount_mutation Mutations::MergeRequests::SetLocked
|
2019-11-04 09:06:21 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::SetMilestone
|
2019-11-15 06:06:13 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::SetSubscription
|
2019-06-26 10:42:25 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::SetWip, calls_gitaly: true
|
2019-11-15 00:06:05 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::SetAssignees
|
2019-07-01 04:34:34 +00:00
|
|
|
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
|
2019-11-12 15:06:26 +00:00
|
|
|
mount_mutation Mutations::Todos::MarkDone
|
2019-11-21 12:06:40 +00:00
|
|
|
mount_mutation Mutations::Todos::Restore
|
2019-11-21 18:06:26 +00:00
|
|
|
mount_mutation Mutations::Todos::MarkAllDone
|
2019-12-13 09:08:01 +00:00
|
|
|
mount_mutation Mutations::Snippets::Destroy
|
|
|
|
mount_mutation Mutations::Snippets::Update
|
|
|
|
mount_mutation Mutations::Snippets::Create
|
2019-12-17 15:08:15 +00:00
|
|
|
mount_mutation Mutations::Snippets::MarkAsSpam
|
2018-05-23 07:55:14 +00:00
|
|
|
end
|
2017-08-16 13:04:41 +00:00
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
|
|
|
::Types::MutationType.prepend_if_ee('::EE::Types::MutationType')
|