diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 20:02:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 20:02:30 +0000 |
commit | 41fe97390ceddf945f3d967b8fdb3de4c66b7dea (patch) | |
tree | 9c8d89a8624828992f06d892cd2f43818ff5dcc8 /app/assets/javascripts/integrations/constants.js | |
parent | 0804d2dc31052fb45a1efecedc8e06ce9bc32862 (diff) | |
download | gitlab-ce-41fe97390ceddf945f3d967b8fdb3de4c66b7dea.tar.gz |
Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42
Diffstat (limited to 'app/assets/javascripts/integrations/constants.js')
-rw-r--r-- | app/assets/javascripts/integrations/constants.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/integrations/constants.js b/app/assets/javascripts/integrations/constants.js index 004601bc0a3..c5ed5bb08a9 100644 --- a/app/assets/javascripts/integrations/constants.js +++ b/app/assets/javascripts/integrations/constants.js @@ -1,6 +1,7 @@ import { s__, __ } from '~/locale'; export const integrationLevels = { + PROJECT: 'project', GROUP: 'group', INSTANCE: 'instance', }; @@ -24,3 +25,15 @@ export const I18N_SUCCESSFUL_CONNECTION_MESSAGE = s__('Integrations|Connection s export const settingsTabTitle = __('Settings'); export const overridesTabTitle = s__('Integrations|Projects using custom settings'); + +export const integrationFormSections = { + CONNECTION: 'connection', + JIRA_TRIGGER: 'jira_trigger', + JIRA_ISSUES: 'jira_issues', +}; + +export const integrationFormSectionComponents = { + [integrationFormSections.CONNECTION]: 'IntegrationSectionConnection', + [integrationFormSections.JIRA_TRIGGER]: 'IntegrationSectionJiraTrigger', + [integrationFormSections.JIRA_ISSUES]: 'IntegrationSectionJiraIssues', +}; |