2021-03-22 17:08:59 -04:00
|
|
|
// Values for CI_CONFIG_STATUS_* comes from lint graphQL
|
2020-12-16 10:10:18 -05:00
|
|
|
export const CI_CONFIG_STATUS_INVALID = 'INVALID';
|
2021-03-22 17:08:59 -04:00
|
|
|
export const CI_CONFIG_STATUS_VALID = 'VALID';
|
|
|
|
|
|
|
|
// Values for EDITOR_APP_STATUS_* are frontend specifics and
|
|
|
|
// represent the global state of the pipeline editor app.
|
|
|
|
export const EDITOR_APP_STATUS_EMPTY = 'EMPTY';
|
|
|
|
export const EDITOR_APP_STATUS_ERROR = 'ERROR';
|
|
|
|
export const EDITOR_APP_STATUS_INVALID = CI_CONFIG_STATUS_INVALID;
|
|
|
|
export const EDITOR_APP_STATUS_LOADING = 'LOADING';
|
|
|
|
export const EDITOR_APP_STATUS_VALID = CI_CONFIG_STATUS_VALID;
|
2021-02-03 16:09:17 -05:00
|
|
|
|
|
|
|
export const COMMIT_FAILURE = 'COMMIT_FAILURE';
|
|
|
|
export const COMMIT_SUCCESS = 'COMMIT_SUCCESS';
|
|
|
|
|
|
|
|
export const DEFAULT_FAILURE = 'DEFAULT_FAILURE';
|
2021-04-26 05:09:53 -04:00
|
|
|
export const DEFAULT_SUCCESS = 'DEFAULT_SUCCESS';
|
2021-02-03 16:09:17 -05:00
|
|
|
export const LOAD_FAILURE_UNKNOWN = 'LOAD_FAILURE_UNKNOWN';
|
2021-02-12 13:08:59 -05:00
|
|
|
|
|
|
|
export const CREATE_TAB = 'CREATE_TAB';
|
|
|
|
export const LINT_TAB = 'LINT_TAB';
|
|
|
|
export const MERGED_TAB = 'MERGED_TAB';
|
|
|
|
export const VISUALIZE_TAB = 'VISUALIZE_TAB';
|
|
|
|
|
|
|
|
export const TABS_WITH_COMMIT_FORM = [CREATE_TAB, LINT_TAB, VISUALIZE_TAB];
|
2021-03-12 16:09:12 -05:00
|
|
|
|
|
|
|
export const COMMIT_ACTION_CREATE = 'CREATE';
|
|
|
|
export const COMMIT_ACTION_UPDATE = 'UPDATE';
|
2021-05-11 17:10:21 -04:00
|
|
|
|
|
|
|
export const DRAWER_EXPANDED_KEY = 'pipeline_editor_drawer_expanded';
|