Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-06 06:09:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-06 06:09:19 +0300
commit74d35955aa0e12ff6ed99b39adb38e0f13fb96aa (patch)
tree3eb7d2dd94cfb1487c0649ef976d375e5e57c7cf /app/assets/javascripts/graphql_shared
parentc93374099a04d318af464f5b3a54a8aafdbca81f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/graphql_shared')
-rw-r--r--app/assets/javascripts/graphql_shared/utils.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/graphql_shared/utils.js b/app/assets/javascripts/graphql_shared/utils.js
index a262fbd9ac3..7a81d5963f2 100644
--- a/app/assets/javascripts/graphql_shared/utils.js
+++ b/app/assets/javascripts/graphql_shared/utils.js
@@ -9,4 +9,8 @@
export const getIdFromGraphQLId = (gid = '') =>
parseInt((gid || '').replace(/gid:\/\/gitlab\/.*\//g, ''), 10) || null;
-export default {};
+export const MutationOperationMode = {
+ Append: 'APPEND',
+ Remove: 'REMOVE',
+ Replace: 'REPLACE',
+};