2020-06-23 00:09:42 +05:30
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2022-03-02 08:16:31 +05:30
|
|
|
export const INCIDENT_TYPE = 'incident';
|
|
|
|
export const INCIDENT_TYPE_PATH = 'issues/incident';
|
|
|
|
export const ISSUE_STATE_EVENT_CLOSE = 'CLOSE';
|
|
|
|
export const ISSUE_STATE_EVENT_REOPEN = 'REOPEN';
|
|
|
|
export const ISSUE_TYPE_PATH = 'issues';
|
2020-07-28 23:09:34 +05:30
|
|
|
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');
|
2022-03-02 08:16:31 +05:30
|
|
|
export const POLLING_DELAY = 2000;
|
|
|
|
export const STATUS_PAGE_PUBLISHED = __('Published on status page');
|
2021-09-04 01:27:46 +05:30
|
|
|
|
2022-03-02 08:16:31 +05:30
|
|
|
export const issuableTypes = [
|
2021-10-27 15:23:28 +05:30
|
|
|
{ value: 'issue', text: __('Issue'), icon: 'issue-type-issue' },
|
|
|
|
{ value: 'incident', text: __('Incident'), icon: 'issue-type-incident' },
|
2021-09-04 01:27:46 +05:30
|
|
|
];
|
|
|
|
|
2022-03-02 08:16:31 +05:30
|
|
|
export const issueState = {
|
|
|
|
issueType: undefined,
|
|
|
|
isDirty: false,
|
|
|
|
};
|