debian-mirror-gitlab/app/assets/javascripts/pipelines/components/graph/constants.js
2022-07-16 19:58:13 +02:00

22 lines
613 B
JavaScript

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 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 BUILD_KIND = 'BUILD';
export const BRIDGE_KIND = 'BRIDGE';
export const ACTION_FAILURE = 'action_failure';
export const IID_FAILURE = 'missing_iid';