2020-08-28 18:10:51 +00:00
|
|
|
/* eslint-disable @gitlab/require-i18n-strings */
|
2020-08-12 15:10:02 +00:00
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2020-08-28 18:10:51 +00:00
|
|
|
const DEFAULT_LABEL_NO_LABEL = { value: 'No label', text: __('No label') };
|
|
|
|
export const DEFAULT_LABEL_NONE = { value: 'None', text: __('None') };
|
|
|
|
export const DEFAULT_LABEL_ANY = { value: 'Any', text: __('Any') };
|
|
|
|
|
|
|
|
export const DEFAULT_LABELS = [DEFAULT_LABEL_NO_LABEL];
|
2020-08-03 15:09:44 +00:00
|
|
|
|
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
|
|
|
|
2020-08-28 18:10:51 +00:00
|
|
|
export const DEFAULT_MILESTONES = [
|
|
|
|
DEFAULT_LABEL_NONE,
|
|
|
|
DEFAULT_LABEL_ANY,
|
2020-08-12 15:10:02 +00:00
|
|
|
{ value: 'Upcoming', text: __('Upcoming') },
|
|
|
|
{ value: 'Started', text: __('Started') },
|
|
|
|
];
|
2020-08-28 18:10:51 +00:00
|
|
|
|
|
|
|
/* eslint-enable @gitlab/require-i18n-strings */
|