2020-08-12 15:10:02 +00:00
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2020-06-02 15:08:24 +00:00
|
|
|
export const ANY_AUTHOR = 'Any';
|
|
|
|
|
2020-08-03 15:09:44 +00:00
|
|
|
export const NO_LABEL = 'No label';
|
|
|
|
|
2020-06-02 15:08:24 +00:00
|
|
|
export const DEBOUNCE_DELAY = 200;
|
|
|
|
|
|
|
|
export const SortDirection = {
|
|
|
|
descending: 'descending',
|
|
|
|
ascending: 'ascending',
|
|
|
|
};
|
2020-08-12 15:10:02 +00:00
|
|
|
|
|
|
|
export const defaultMilestones = [
|
|
|
|
// eslint-disable-next-line @gitlab/require-i18n-strings
|
|
|
|
{ value: 'None', text: __('None') },
|
|
|
|
// eslint-disable-next-line @gitlab/require-i18n-strings
|
|
|
|
{ value: 'Any', text: __('Any') },
|
|
|
|
// eslint-disable-next-line @gitlab/require-i18n-strings
|
|
|
|
{ value: 'Upcoming', text: __('Upcoming') },
|
|
|
|
// eslint-disable-next-line @gitlab/require-i18n-strings
|
|
|
|
{ value: 'Started', text: __('Started') },
|
|
|
|
];
|