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:
Diffstat (limited to 'app/assets/javascripts/ci/catalog/constants.js')
-rw-r--r--app/assets/javascripts/ci/catalog/constants.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/app/assets/javascripts/ci/catalog/constants.js b/app/assets/javascripts/ci/catalog/constants.js
index 9591880e0fa..34c0ac797c1 100644
--- a/app/assets/javascripts/ci/catalog/constants.js
+++ b/app/assets/javascripts/ci/catalog/constants.js
@@ -1,7 +1,5 @@
import { helpPagePath } from '~/helpers/help_page_helper';
-// We disable this for the entire file until the mock data is cleanup
-/* eslint-disable @gitlab/require-i18n-strings */
export const CATALOG_FEEDBACK_DISMISSED_KEY = 'catalog_feedback_dismissed';
export const SORT_OPTION_CREATED = 'CREATED';
@@ -9,35 +7,3 @@ export const SORT_ASC = 'ASC';
export const SORT_DESC = 'DESC';
export const COMPONENTS_DOCS_URL = helpPagePath('ci/components/index');
-
-export const componentsMockData = {
- __typename: 'CiComponentConnection',
- nodes: [
- {
- id: 'gid://gitlab/Ci::Component/1',
- name: 'Ruby gal',
- description: 'This is a pretty amazing component that does EVERYTHING ruby.',
- path: 'gitlab.com/gitlab-org/ruby-gal@~latest',
- inputs: { nodes: [{ name: 'version', defaultValue: '1.0.0', required: true }] },
- },
- {
- id: 'gid://gitlab/Ci::Component/2',
- name: 'Javascript madness',
- description: 'Adds some spice to your life.',
- path: 'gitlab.com/gitlab-org/javascript-madness@~latest',
- inputs: {
- nodes: [
- { name: 'isFun', defaultValue: 'true', required: true },
- { name: 'RandomNumber', defaultValue: '10', required: false },
- ],
- },
- },
- {
- id: 'gid://gitlab/Ci::Component/3',
- name: 'Go go go',
- description: 'When you write Go, you gotta go go go.',
- path: 'gitlab.com/gitlab-org/go-go-go@~latest',
- inputs: { nodes: [{ name: 'version', defaultValue: '1.0.0', required: true }] },
- },
- ],
-};