debian-mirror-gitlab/app/assets/javascripts/search/store/constants.js

13 lines
495 B
JavaScript
Raw Normal View History

2021-12-11 22:18:48 +05:30
import { stateFilterData } from '~/search/sidebar/constants/state_filter_data';
import { confidentialFilterData } from '~/search/sidebar/constants/confidential_filter_data';
2021-09-30 23:02:18 +05:30
export const MAX_FREQUENT_ITEMS = 5;
export const MAX_FREQUENCY = 5;
export const GROUPS_LOCAL_STORAGE_KEY = 'global-search-frequent-groups';
export const PROJECTS_LOCAL_STORAGE_KEY = 'global-search-frequent-projects';
2021-12-11 22:18:48 +05:30
export const SIDEBAR_PARAMS = [stateFilterData.filterParam, confidentialFilterData.filterParam];