Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « groups_and_projects « organizations « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e2533b798b7042ed45076182a0376ba61ae7218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { __ } from '~/locale';

export const DISPLAY_QUERY_GROUPS = 'groups';
export const DISPLAY_QUERY_PROJECTS = 'projects';

export const FILTERED_SEARCH_TERM_KEY = 'search';

export const DISPLAY_LISTBOX_ITEMS = [
  {
    value: DISPLAY_QUERY_GROUPS,
    text: __('Groups'),
  },
  {
    value: DISPLAY_QUERY_PROJECTS,
    text: __('Projects'),
  },
];

export const SORT_DIRECTION_ASC = 'asc';
export const SORT_DIRECTION_DESC = 'desc';

export const SORT_ITEM_CREATED = {
  value: 'created',
  text: __('Created'),
};

export const SORT_ITEMS = [SORT_ITEM_CREATED];