* Disabled broken ESLint rule * Added preferences to redux store * Re-enabled all unit tests * Fixed code referencing users.myPreferences * Stopped exporting dispatcher from actions/helpers
22 lines
592 B
JavaScript
22 lines
592 B
JavaScript
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import keymirror from 'keymirror';
|
|
|
|
export default keymirror({
|
|
MY_PREFERENCES_REQUEST: null,
|
|
MY_PREFERENCES_SUCCESS: null,
|
|
MY_PREFERENCES_FAILURE: null,
|
|
|
|
SAVE_PREFERENCES_REQUEST: null,
|
|
SAVE_PREFERENCES_SUCCESS: null,
|
|
SAVE_PREFERENCES_FAILURE: null,
|
|
|
|
DELETE_PREFERENCES_REQUEST: null,
|
|
DELETE_PREFERENCES_SUCCESS: null,
|
|
DELETE_PREFERENCES_FAILURE: null,
|
|
|
|
RECEIVED_PREFERENCE: null,
|
|
RECEIVED_PREFERENCES: null,
|
|
DELETED_PREFERENCES: null
|
|
});
|