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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
529 B
JavaScript
Raw Normal View History

2021-02-22 17:27:13 +05:30
import { __ } from '~/locale';
export const ANY_OPTION = Object.freeze({
id: null,
name: __('Any'),
name_with_namespace: __('Any'),
});
export const GROUP_DATA = {
headerText: __('Filter results by group'),
queryParam: 'group_id',
2021-09-04 01:27:46 +05:30
name: 'name',
fullName: 'full_name',
2021-02-22 17:27:13 +05:30
};
export const PROJECT_DATA = {
headerText: __('Filter results by project'),
queryParam: 'project_id',
2021-09-04 01:27:46 +05:30
name: 'name',
fullName: 'name_with_namespace',
2021-02-22 17:27:13 +05:30
};
2023-03-04 22:38:38 +05:30
export const SYNTAX_OPTIONS_DOCUMENT = 'drawers/user/search/advanced_search.md';