summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/constants.js
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-04-24 03:45:03 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2019-04-24 03:45:03 -0500
commit218430bdde361a13f274beb558c5fd30b564b6c6 (patch)
tree4cb1741eb29732379969a8a0269c03c4c4314316 /app/assets/javascripts/ide/constants.js
parent4518806c9ca89f0403bfe92286c496cd12cd9393 (diff)
downloadgitlab-ce-218430bdde361a13f274beb558c5fd30b564b6c6.tar.gz
Create constants for IDE commit action values
**Why?** These values will be used to help build the mirroring diff. It is helpful keeping it controlled in a constant. **Links:** - https://gitlab.com/gitlab-org/gitlab-ee/issues/10232 - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/11478
Diffstat (limited to 'app/assets/javascripts/ide/constants.js')
-rw-r--r--app/assets/javascripts/ide/constants.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/constants.js b/app/assets/javascripts/ide/constants.js
index 7c560c89695..e30670e119f 100644
--- a/app/assets/javascripts/ide/constants.js
+++ b/app/assets/javascripts/ide/constants.js
@@ -72,4 +72,11 @@ export const modalTypes = {
tree: 'tree',
};
+export const commitActionTypes = {
+ move: 'move',
+ delete: 'delete',
+ create: 'create',
+ update: 'update',
+};
+
export const packageJsonPath = 'package.json';