mattermost-mobile/service/constants/preferences.js
Harrison Healey 155a923cd0 Added preferences to redux store (#124)
* 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
2016-12-12 20:42:26 -03:00

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
});