* Added NOTICE.txt * Add creators to intro sentence * Removed react-addons-pure-render-mixin from NOTICE.txt since it's part of react * Copied fbjs keymirror into utils * Renamed deepFreezeAndThrowOnMutation to deep_freeze * Fixed merge conflict
61 lines
1.6 KiB
JavaScript
61 lines
1.6 KiB
JavaScript
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import keyMirror from 'service/utils/key_mirror';
|
|
|
|
const UserTypes = keyMirror({
|
|
LOGIN_REQUEST: null,
|
|
LOGIN_SUCCESS: null,
|
|
LOGIN_FAILURE: null,
|
|
|
|
LOGOUT_REQUEST: null,
|
|
LOGOUT_SUCCESS: null,
|
|
LOGOUT_FAILURE: null,
|
|
|
|
PROFILES_REQUEST: null,
|
|
PROFILES_SUCCESS: null,
|
|
PROFILES_FAILURE: null,
|
|
|
|
PROFILES_IN_TEAM_REQUEST: null,
|
|
PROFILES_IN_TEAM_SUCCESS: null,
|
|
PROFILES_IN_TEAM_FAILURE: null,
|
|
|
|
PROFILES_IN_CHANNEL_REQUEST: null,
|
|
PROFILES_IN_CHANNEL_SUCCESS: null,
|
|
PROFILES_IN_CHANNEL_FAILURE: null,
|
|
|
|
PROFILES_NOT_IN_CHANNEL_REQUEST: null,
|
|
PROFILES_NOT_IN_CHANNEL_SUCCESS: null,
|
|
PROFILES_NOT_IN_CHANNEL_FAILURE: null,
|
|
|
|
PROFILES_STATUSES_REQUEST: null,
|
|
PROFILES_STATUSES_SUCCESS: null,
|
|
PROFILES_STATUSES_FAILURE: null,
|
|
|
|
SESSIONS_REQUEST: null,
|
|
SESSIONS_SUCCESS: null,
|
|
SESSIONS_FAILURE: null,
|
|
|
|
REVOKE_SESSION_REQUEST: null,
|
|
REVOKE_SESSION_SUCCESS: null,
|
|
REVOKE_SESSION_FAILURE: null,
|
|
|
|
AUDITS_REQUEST: null,
|
|
AUDITS_SUCCESS: null,
|
|
AUDITS_FAILURE: null,
|
|
|
|
RECEIVED_ME: null,
|
|
RECEIVED_PROFILES: null,
|
|
RECEIVED_PROFILES_IN_TEAM: null,
|
|
RECEIVED_PROFILES_IN_CHANNEL: null,
|
|
RECEIVED_PROFILE_IN_CHANNEL: null,
|
|
RECEIVED_PROFILES_NOT_IN_CHANNEL: null,
|
|
RECEIVED_PROFILE_NOT_IN_CHANNEL: null,
|
|
RECEIVED_SESSIONS: null,
|
|
RECEIVED_REVOKED_SESSION: null,
|
|
RECEIVED_AUDITS: null,
|
|
RECEIVED_STATUSES: null,
|
|
RESET_LOGOUT_STATE: null
|
|
});
|
|
|
|
export default UserTypes;
|