debian-mirror-gitlab/app/assets/javascripts/issues/show/constants.js

23 lines
648 B
JavaScript
Raw Normal View History

2020-06-23 00:09:42 +05:30
import { __ } from '~/locale';
2021-01-29 00:20:46 +05:30
export const IssueStateEvent = {
Close: 'CLOSE',
Reopen: 'REOPEN',
};
2020-07-28 23:09:34 +05:30
export const STATUS_PAGE_PUBLISHED = __('Published on status page');
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');
2021-09-04 01:27:46 +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
];
export const IssueTypePath = 'issues';
export const IncidentTypePath = 'issues/incident';
export const IncidentType = 'incident';
export const issueState = { issueType: undefined, isDirty: false };
2021-12-11 22:18:48 +05:30
export const POLLING_DELAY = 2000;