2021-12-13 07:12:59 -05:00
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
|
|
|
export const IssuableStatus = {
|
|
|
|
Closed: 'closed',
|
|
|
|
Open: 'opened',
|
|
|
|
Reopened: 'reopened',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const IssuableStatusText = {
|
|
|
|
[IssuableStatus.Closed]: __('Closed'),
|
|
|
|
[IssuableStatus.Open]: __('Open'),
|
|
|
|
[IssuableStatus.Reopened]: __('Open'),
|
|
|
|
};
|
|
|
|
|
|
|
|
export const IssuableType = {
|
|
|
|
Issue: 'issue',
|
|
|
|
Epic: 'epic',
|
|
|
|
MergeRequest: 'merge_request',
|
|
|
|
Alert: 'alert',
|
|
|
|
};
|
|
|
|
|
2022-01-10 07:15:34 -05:00
|
|
|
export const IssueType = {
|
|
|
|
Issue: 'issue',
|
|
|
|
Incident: 'incident',
|
|
|
|
TestCase: 'test_case',
|
|
|
|
};
|
|
|
|
|
2021-12-13 07:12:59 -05:00
|
|
|
export const WorkspaceType = {
|
|
|
|
project: 'project',
|
|
|
|
group: 'group',
|
|
|
|
};
|