debian-mirror-gitlab/app/assets/javascripts/users_select/constants.js
2023-01-13 15:02:22 +05:30

13 lines
370 B
JavaScript

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',
states: 'states',
};
export const ACTIVE_AND_BLOCKED_USER_STATES = ['active', 'blocked'];