| ... | @@ -4,7 +4,7 @@ module Types |
... | @@ -4,7 +4,7 @@ module Types |
|
|
class MutationType < BaseObject
|
|
class MutationType < BaseObject
|
|
|
include Gitlab::Graphql::MountMutation
|
|
include Gitlab::Graphql::MountMutation
|
|
|
|
|
|
|
|
graphql_name "Mutation"
|
|
graphql_name 'Mutation'
|
|
|
|
|
|
|
|
mount_mutation Mutations::AwardEmojis::Add
|
|
mount_mutation Mutations::AwardEmojis::Add
|
|
|
mount_mutation Mutations::AwardEmojis::Remove
|
|
mount_mutation Mutations::AwardEmojis::Remove
|
| ... | @@ -20,7 +20,14 @@ module Types |
... | @@ -20,7 +20,14 @@ module Types |
|
|
mount_mutation Mutations::Notes::Create::Note, 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::DiffNote, calls_gitaly: true
|
|
|
mount_mutation Mutations::Notes::Create::ImageDiffNote, calls_gitaly: true
|
|
mount_mutation Mutations::Notes::Create::ImageDiffNote, calls_gitaly: true
|
|
|
mount_mutation Mutations::Notes::Update
|
|
mount_mutation Mutations::Notes::Update::Note,
|
|
|
|
description: 'Updates a Note. If the body of the Note contains only quick actions, ' \
|
|
|
|
'the Note will be destroyed during the update, and no Note will be ' \
|
|
|
|
'returned'
|
|
|
|
mount_mutation Mutations::Notes::Update::ImageDiffNote,
|
|
|
|
description: 'Updates a DiffNote on an image (a `Note` where the `position.positionType` is `"image"`). ' \
|
|
|
|
'If the body of the Note contains only quick actions, the Note will be ' \
|
|
|
|
'destroyed during the update, and no Note will be returned'
|
|
|
mount_mutation Mutations::Notes::Destroy
|
|
mount_mutation Mutations::Notes::Destroy
|
|
|
mount_mutation Mutations::Todos::MarkDone
|
|
mount_mutation Mutations::Todos::MarkDone
|
|
|
mount_mutation Mutations::Todos::Restore
|
|
mount_mutation Mutations::Todos::Restore
|
| ... | |
... | |
| ... | | ... | |