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

14 lines
370 B
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
export const AJAX_USERS_SELECT_PARAMS_MAP = {
project_id: 'projectId',
group_id: 'groupId',
skip_ldap: 'skipLdap',
todo_filter: 'todoFilter',
todo_state_filter: 'todoStateFilter',
current_user: 'showCurrentUser',
author_id: 'authorId',
skip_users: 'skipUsers',
2023-01-13 00:05:48 +05:30
states: 'states',
2020-05-24 23:13:21 +05:30
};
2023-01-13 00:05:48 +05:30
export const ACTIVE_AND_BLOCKED_USER_STATES = ['active', 'blocked'];