summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js
blob: 7b3d1d0afd606ec80e32f151fced149cceafd3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { __ } from '~/locale';

export const ANY_AUTHOR = 'Any';

export const NO_LABEL = 'No label';

export const DEBOUNCE_DELAY = 200;

export const SortDirection = {
  descending: 'descending',
  ascending: 'ascending',
};

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') },
];