debian-mirror-gitlab/app/assets/javascripts/invite_members/constants.js

22 lines
544 B
JavaScript
Raw Normal View History

2021-09-30 23:02:18 +05:30
import { __ } from '~/locale';
2021-04-17 20:07:23 +05:30
export const SEARCH_DELAY = 200;
2021-04-29 21:17:54 +05:30
export const INVITE_MEMBERS_IN_COMMENT = 'invite_members_in_comment';
2021-10-27 15:23:28 +05:30
export const MEMBER_AREAS_OF_FOCUS = {
name: 'member_areas_of_focus',
view: 'view',
submit: 'submit',
};
2021-09-04 01:27:46 +05:30
export const GROUP_FILTERS = {
ALL: 'all',
DESCENDANT_GROUPS: 'descendant_groups',
};
2021-09-30 23:02:18 +05:30
export const API_MESSAGES = {
EMAIL_ALREADY_INVITED: __('Invite email has already been taken'),
};
2021-10-27 15:23:28 +05:30
export const USERS_FILTER_ALL = 'all';
export const USERS_FILTER_SAML_PROVIDER_ID = 'saml_provider_id';