debian-mirror-gitlab/app/assets/javascripts/issues/show/constants.js
2023-07-09 08:55:56 +05:30

21 lines
708 B
JavaScript

import { __ } from '~/locale';
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';
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');
export const POLLING_DELAY = 2000;
export const STATUS_PAGE_PUBLISHED = __('Published on status page');
export const issuableTypes = [
{ value: 'issue', text: __('Issue'), icon: 'issue-type-issue' },
{ value: 'incident', text: __('Incident'), icon: 'issue-type-incident' },
];
export const issueState = {
issueType: undefined,
isDirty: false,
};
export const NEW_ACTIONS_POPOVER_KEY = 'new-actions-popover-viewed';