summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/components/graph/constants.js
blob: dd9cdae518fa41eb3890e3df556d84e28a7df758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const DOWNSTREAM = 'downstream';
export const MAIN = 'main';
export const UPSTREAM = 'upstream';

/*
  this value is based on the gl-pipeline-job-width class
  plus some extra for the margins
*/
export const ONE_COL_WIDTH = 180;

export const REST = 'rest';
export const GRAPHQL = 'graphql';

export const STAGE_VIEW = 'stage';
export const LAYER_VIEW = 'layer';
export const VIEW_TYPE_KEY = 'pipeline_graph_view_type';

export const SINGLE_JOB = 'single_job';
export const JOB_DROPDOWN = 'job_dropdown';

export const IID_FAILURE = 'missing_iid';