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
|
|
|
|
|
2020-02-17 12:09:20 +00:00
|
|
|
graphql_name 'Mutation'
|
2017-08-16 13:04:41 +00:00
|
|
|
|
2020-03-03 15:08:08 +00:00
|
|
|
mount_mutation Mutations::Admin::SidekiqQueues::DeleteJobs
|
2020-05-15 15:08:04 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::CreateAlertIssue
|
2020-05-06 12:09:36 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::UpdateAlertStatus
|
2020-06-11 06:08:22 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::Alerts::SetAssignees
|
2020-07-17 00:09:37 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::Alerts::Todo::Create
|
2020-10-30 09:08:39 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::HttpIntegration::Create
|
|
|
|
mount_mutation Mutations::AlertManagement::HttpIntegration::Update
|
|
|
|
mount_mutation Mutations::AlertManagement::HttpIntegration::ResetToken
|
2020-11-03 18:09:22 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::HttpIntegration::Destroy
|
2021-01-21 00:11:07 +00:00
|
|
|
mount_mutation Mutations::Security::CiConfiguration::ConfigureSast
|
2020-10-30 09:08:39 +00:00
|
|
|
mount_mutation Mutations::AlertManagement::PrometheusIntegration::Create
|
|
|
|
mount_mutation Mutations::AlertManagement::PrometheusIntegration::Update
|
|
|
|
mount_mutation Mutations::AlertManagement::PrometheusIntegration::ResetToken
|
2019-06-21 04:45:27 +00:00
|
|
|
mount_mutation Mutations::AwardEmojis::Add
|
|
|
|
mount_mutation Mutations::AwardEmojis::Remove
|
|
|
|
mount_mutation Mutations::AwardEmojis::Toggle
|
2020-10-08 18:08:32 +00:00
|
|
|
mount_mutation Mutations::Boards::Create
|
2020-09-11 12:08:50 +00:00
|
|
|
mount_mutation Mutations::Boards::Destroy
|
2021-02-19 00:11:06 +00:00
|
|
|
mount_mutation Mutations::Boards::Update
|
2020-08-10 15:09:49 +00:00
|
|
|
mount_mutation Mutations::Boards::Issues::IssueMoveList
|
2020-08-13 15:10:03 +00:00
|
|
|
mount_mutation Mutations::Boards::Lists::Create
|
2020-08-13 21:10:04 +00:00
|
|
|
mount_mutation Mutations::Boards::Lists::Update
|
2020-09-24 12:09:37 +00:00
|
|
|
mount_mutation Mutations::Boards::Lists::Destroy
|
2020-05-05 09:09:37 +00:00
|
|
|
mount_mutation Mutations::Branches::Create, calls_gitaly: true
|
2020-05-29 09:08:06 +00:00
|
|
|
mount_mutation Mutations::Commits::Create, calls_gitaly: true
|
2020-11-16 21:09:02 +00:00
|
|
|
mount_mutation Mutations::CustomEmoji::Create, feature_flag: :custom_emoji
|
2020-06-01 00:08:25 +00:00
|
|
|
mount_mutation Mutations::Discussions::ToggleResolve
|
2020-12-04 18:09:55 +00:00
|
|
|
mount_mutation Mutations::Environments::CanaryIngress::Update
|
2020-10-14 12:08:58 +00:00
|
|
|
mount_mutation Mutations::Issues::Create
|
2020-08-02 21:10:04 +00:00
|
|
|
mount_mutation Mutations::Issues::SetAssignees
|
2019-12-03 18:06:49 +00:00
|
|
|
mount_mutation Mutations::Issues::SetConfidential
|
2020-07-16 00:09:17 +00:00
|
|
|
mount_mutation Mutations::Issues::SetLocked
|
2019-11-25 18:06:04 +00:00
|
|
|
mount_mutation Mutations::Issues::SetDueDate
|
2020-09-09 12:08:22 +00:00
|
|
|
mount_mutation Mutations::Issues::SetSeverity
|
2020-07-31 12:10:02 +00:00
|
|
|
mount_mutation Mutations::Issues::SetSubscription
|
2020-02-18 09:09:24 +00:00
|
|
|
mount_mutation Mutations::Issues::Update
|
2020-10-20 06:09:03 +00:00
|
|
|
mount_mutation Mutations::Issues::Move
|
2020-11-06 03:09:19 +00:00
|
|
|
mount_mutation Mutations::Labels::Create
|
2020-05-26 09:08:06 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::Create
|
2020-06-19 18:08:39 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::Update
|
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
|
2021-02-02 12:10:15 +00:00
|
|
|
mount_mutation Mutations::MergeRequests::ReviewerRereview
|
2020-05-19 12:08:21 +00:00
|
|
|
mount_mutation Mutations::Metrics::Dashboard::Annotations::Create
|
2020-06-04 21:08:11 +00:00
|
|
|
mount_mutation Mutations::Metrics::Dashboard::Annotations::Delete
|
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
|
2020-02-17 12:09:20 +00:00
|
|
|
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'
|
2020-11-09 06:09:23 +00:00
|
|
|
mount_mutation Mutations::Notes::RepositionImageDiffNote
|
2019-07-01 04:34:34 +00:00
|
|
|
mount_mutation Mutations::Notes::Destroy
|
2020-11-11 00:08:58 +00:00
|
|
|
mount_mutation Mutations::Releases::Create
|
2020-11-23 18:09:14 +00:00
|
|
|
mount_mutation Mutations::Releases::Update
|
2020-12-01 03:09:24 +00:00
|
|
|
mount_mutation Mutations::Releases::Delete
|
2020-10-26 15:08:40 +00:00
|
|
|
mount_mutation Mutations::Terraform::State::Delete
|
|
|
|
mount_mutation Mutations::Terraform::State::Lock
|
|
|
|
mount_mutation Mutations::Terraform::State::Unlock
|
2020-10-30 18:08:56 +00:00
|
|
|
mount_mutation Mutations::Todos::Create
|
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
|
2020-02-01 03:09:04 +00:00
|
|
|
mount_mutation Mutations::Todos::RestoreMany
|
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
|
2020-03-31 15:07:53 +00:00
|
|
|
mount_mutation Mutations::JiraImport::Start
|
2020-06-08 15:08:20 +00:00
|
|
|
mount_mutation Mutations::JiraImport::ImportUsers
|
2020-05-13 15:08:23 +00:00
|
|
|
mount_mutation Mutations::DesignManagement::Upload, calls_gitaly: true
|
|
|
|
mount_mutation Mutations::DesignManagement::Delete, calls_gitaly: true
|
2020-08-07 21:10:07 +00:00
|
|
|
mount_mutation Mutations::DesignManagement::Move
|
2020-06-03 21:08:23 +00:00
|
|
|
mount_mutation Mutations::ContainerExpirationPolicies::Update
|
2020-11-13 00:09:49 +00:00
|
|
|
mount_mutation Mutations::ContainerRepositories::Destroy
|
2020-12-08 03:09:37 +00:00
|
|
|
mount_mutation Mutations::ContainerRepositories::DestroyTags
|
2021-01-04 15:10:15 +00:00
|
|
|
mount_mutation Mutations::Ci::Pipeline::Cancel
|
|
|
|
mount_mutation Mutations::Ci::Pipeline::Destroy
|
|
|
|
mount_mutation Mutations::Ci::Pipeline::Retry
|
2021-01-12 18:11:03 +00:00
|
|
|
mount_mutation Mutations::Ci::CiCdSettingsUpdate
|
2021-01-05 18:10:25 +00:00
|
|
|
mount_mutation Mutations::Namespace::PackageSettings::Update
|
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
|
|
|
|
2020-06-23 12:09:20 +00:00
|
|
|
::Types::MutationType.prepend(::Types::DeprecatedMutations)
|
2019-09-13 13:26:31 +00:00
|
|
|
::Types::MutationType.prepend_if_ee('::EE::Types::MutationType')
|