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

103 lines
5.5 KiB
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
2020-03-13 15:44:24 +05:30
graphql_name 'Mutation'
2018-11-08 19:23:39 +05:30
2020-04-08 14:13:33 +05:30
mount_mutation Mutations::Admin::SidekiqQueues::DeleteJobs
2020-05-24 23:13:21 +05:30
mount_mutation Mutations::AlertManagement::CreateAlertIssue
mount_mutation Mutations::AlertManagement::UpdateAlertStatus
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::AlertManagement::Alerts::SetAssignees
2020-07-28 23:09:34 +05:30
mount_mutation Mutations::AlertManagement::Alerts::Todo::Create
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::AlertManagement::HttpIntegration::Create
mount_mutation Mutations::AlertManagement::HttpIntegration::Update
mount_mutation Mutations::AlertManagement::HttpIntegration::ResetToken
mount_mutation Mutations::AlertManagement::HttpIntegration::Destroy
2021-03-11 19:13:27 +05:30
mount_mutation Mutations::Security::CiConfiguration::ConfigureSast
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::AlertManagement::PrometheusIntegration::Create
mount_mutation Mutations::AlertManagement::PrometheusIntegration::Update
mount_mutation Mutations::AlertManagement::PrometheusIntegration::ResetToken
2019-09-30 21:07:59 +05:30
mount_mutation Mutations::AwardEmojis::Add
mount_mutation Mutations::AwardEmojis::Remove
mount_mutation Mutations::AwardEmojis::Toggle
2021-01-03 14:25:43 +05:30
mount_mutation Mutations::Boards::Create
2020-11-24 15:15:51 +05:30
mount_mutation Mutations::Boards::Destroy
2020-10-24 23:57:45 +05:30
mount_mutation Mutations::Boards::Issues::IssueMoveList
mount_mutation Mutations::Boards::Lists::Create
mount_mutation Mutations::Boards::Lists::Update
2021-01-03 14:25:43 +05:30
mount_mutation Mutations::Boards::Lists::Destroy
2020-05-24 23:13:21 +05:30
mount_mutation Mutations::Branches::Create, calls_gitaly: true
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::Commits::Create, calls_gitaly: true
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::CustomEmoji::Create, feature_flag: :custom_emoji
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::Discussions::ToggleResolve
2021-02-22 17:27:13 +05:30
mount_mutation Mutations::Environments::CanaryIngress::Update
2021-01-03 14:25:43 +05:30
mount_mutation Mutations::Issues::Create
2020-10-24 23:57:45 +05:30
mount_mutation Mutations::Issues::SetAssignees
2020-01-01 13:55:28 +05:30
mount_mutation Mutations::Issues::SetConfidential
2020-07-28 23:09:34 +05:30
mount_mutation Mutations::Issues::SetLocked
2020-01-01 13:55:28 +05:30
mount_mutation Mutations::Issues::SetDueDate
2020-11-24 15:15:51 +05:30
mount_mutation Mutations::Issues::SetSeverity
2020-10-24 23:57:45 +05:30
mount_mutation Mutations::Issues::SetSubscription
2020-03-13 15:44:24 +05:30
mount_mutation Mutations::Issues::Update
2021-01-03 14:25:43 +05:30
mount_mutation Mutations::Issues::Move
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::Labels::Create
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::MergeRequests::Create
2020-07-28 23:09:34 +05:30
mount_mutation Mutations::MergeRequests::Update
2019-12-26 22:10:19 +05:30
mount_mutation Mutations::MergeRequests::SetLabels
mount_mutation Mutations::MergeRequests::SetLocked
mount_mutation Mutations::MergeRequests::SetMilestone
mount_mutation Mutations::MergeRequests::SetSubscription
2019-09-30 21:07:59 +05:30
mount_mutation Mutations::MergeRequests::SetWip, calls_gitaly: true
2019-12-26 22:10:19 +05:30
mount_mutation Mutations::MergeRequests::SetAssignees
2021-03-11 19:13:27 +05:30
mount_mutation Mutations::MergeRequests::ReviewerRereview
2020-05-24 23:13:21 +05:30
mount_mutation Mutations::Metrics::Dashboard::Annotations::Create
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::Metrics::Dashboard::Annotations::Delete
2019-09-30 21:07:59 +05:30
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-03-13 15:44:24 +05:30
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'
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::Notes::RepositionImageDiffNote
2019-09-30 21:07:59 +05:30
mount_mutation Mutations::Notes::Destroy
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::Releases::Create
2021-02-22 17:27:13 +05:30
mount_mutation Mutations::Releases::Update
mount_mutation Mutations::Releases::Delete
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::Terraform::State::Delete
mount_mutation Mutations::Terraform::State::Lock
mount_mutation Mutations::Terraform::State::Unlock
mount_mutation Mutations::Todos::Create
2019-12-26 22:10:19 +05:30
mount_mutation Mutations::Todos::MarkDone
2020-01-01 13:55:28 +05:30
mount_mutation Mutations::Todos::Restore
mount_mutation Mutations::Todos::MarkAllDone
2020-03-13 15:44:24 +05:30
mount_mutation Mutations::Todos::RestoreMany
2020-01-01 13:55:28 +05:30
mount_mutation Mutations::Snippets::Destroy
mount_mutation Mutations::Snippets::Update
mount_mutation Mutations::Snippets::Create
mount_mutation Mutations::Snippets::MarkAsSpam
2020-04-22 19:07:51 +05:30
mount_mutation Mutations::JiraImport::Start
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::JiraImport::ImportUsers
2020-05-24 23:13:21 +05:30
mount_mutation Mutations::DesignManagement::Upload, calls_gitaly: true
mount_mutation Mutations::DesignManagement::Delete, calls_gitaly: true
2020-10-24 23:57:45 +05:30
mount_mutation Mutations::DesignManagement::Move
2020-06-23 00:09:42 +05:30
mount_mutation Mutations::ContainerExpirationPolicies::Update
2021-01-29 00:20:46 +05:30
mount_mutation Mutations::ContainerRepositories::Destroy
2021-02-22 17:27:13 +05:30
mount_mutation Mutations::ContainerRepositories::DestroyTags
2021-03-08 18:12:59 +05:30
mount_mutation Mutations::Ci::Pipeline::Cancel
mount_mutation Mutations::Ci::Pipeline::Destroy
mount_mutation Mutations::Ci::Pipeline::Retry
mount_mutation Mutations::Ci::CiCdSettingsUpdate
mount_mutation Mutations::Namespace::PackageSettings::Update
2018-11-08 19:23:39 +05:30
end
end
2019-12-04 20:38:33 +05:30
2020-07-28 23:09:34 +05:30
::Types::MutationType.prepend(::Types::DeprecatedMutations)
2019-12-04 20:38:33 +05:30
::Types::MutationType.prepend_if_ee('::EE::Types::MutationType')