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

constants.js « catalog « ci « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ab067f991cda67f7ee731ca3fb87ca283d27386f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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 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 }] },
    },
  ],
};