debian-mirror-gitlab/app/assets/javascripts/pipelines/components/graph/constants.js

19 lines
492 B
JavaScript
Raw Normal View History

2021-01-29 00:20:46 +05:30
export const DOWNSTREAM = 'downstream';
export const MAIN = 'main';
export const UPSTREAM = 'upstream';
2021-02-22 17:27:13 +05:30
2021-03-11 19:13:27 +05:30
/*
this value is based on the gl-pipeline-job-width class
plus some extra for the margins
*/
export const ONE_COL_WIDTH = 180;
2021-04-29 21:17:54 +05:30
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';