2021-02-03 16:09:17 -05:00
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2021-03-05 04:09:07 -05:00
|
|
|
export const issuableTypes = {
|
|
|
|
issue: 'issue',
|
|
|
|
epic: 'epic',
|
|
|
|
};
|
|
|
|
|
2020-04-30 05:09:39 -04:00
|
|
|
export const BoardType = {
|
|
|
|
project: 'project',
|
|
|
|
group: 'group',
|
|
|
|
};
|
|
|
|
|
2019-10-15 05:06:09 -04:00
|
|
|
export const ListType = {
|
|
|
|
assignee: 'assignee',
|
|
|
|
milestone: 'milestone',
|
2021-02-03 16:09:17 -05:00
|
|
|
iteration: 'iteration',
|
2019-10-15 05:06:09 -04:00
|
|
|
backlog: 'backlog',
|
|
|
|
closed: 'closed',
|
|
|
|
label: 'label',
|
|
|
|
};
|
|
|
|
|
2021-02-03 16:09:17 -05:00
|
|
|
export const ListTypeTitles = {
|
|
|
|
assignee: __('Assignee'),
|
|
|
|
milestone: __('Milestone'),
|
|
|
|
iteration: __('Iteration'),
|
|
|
|
label: __('Label'),
|
|
|
|
};
|
|
|
|
|
2021-02-08 22:09:18 -05:00
|
|
|
export const formType = {
|
|
|
|
new: 'new',
|
|
|
|
delete: 'delete',
|
|
|
|
edit: 'edit',
|
|
|
|
};
|
|
|
|
|
2020-07-24 11:09:39 -04:00
|
|
|
export const inactiveId = 0;
|
2020-04-22 17:10:00 -04:00
|
|
|
|
2020-08-25 02:10:18 -04:00
|
|
|
export const ISSUABLE = 'issuable';
|
|
|
|
export const LIST = 'list';
|
|
|
|
|
2021-02-02 04:09:24 -05:00
|
|
|
export const NOT_FILTER = 'not[';
|
|
|
|
|
2021-02-15 13:09:09 -05:00
|
|
|
export const flashAnimationDuration = 2000;
|
|
|
|
|
2019-10-15 05:06:09 -04:00
|
|
|
export default {
|
2020-04-30 05:09:39 -04:00
|
|
|
BoardType,
|
2019-10-15 05:06:09 -04:00
|
|
|
ListType,
|
|
|
|
};
|