mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-06-13 05:29:24 -04:00
Hook (almost) everything up to Redux
This commit is contained in:
@ -5,4 +5,5 @@ module.exports = keyMirror({
|
||||
ERROR_SERVER: null,
|
||||
ERROR_CLIENT: null,
|
||||
ERROR_USER: null,
|
||||
CLEAR_ERROR: null
|
||||
});
|
||||
|
12
js/constants/SecurityConstants.js
Normal file
12
js/constants/SecurityConstants.js
Normal file
@ -0,0 +1,12 @@
|
||||
var keyMirror = require('keymirror');
|
||||
|
||||
module.exports = keyMirror({
|
||||
FETCH_SECURITIES: null,
|
||||
SECURITIES_FETCHED: null,
|
||||
CREATE_SECURITY: null,
|
||||
SECURITY_CREATED: null,
|
||||
UPDATE_SECURITY: null,
|
||||
SECURITY_UPDATED: null,
|
||||
REMOVE_SECURITY: null,
|
||||
SECURITY_REMOVED: null
|
||||
});
|
12
js/constants/UserConstants.js
Normal file
12
js/constants/UserConstants.js
Normal file
@ -0,0 +1,12 @@
|
||||
var keyMirror = require('keymirror');
|
||||
|
||||
module.exports = keyMirror({
|
||||
LOGIN_USER: null,
|
||||
USER_LOGGEDIN: null,
|
||||
LOGOUT_USER: null,
|
||||
USER_LOGGEDOUT: null,
|
||||
FETCH_USER: null,
|
||||
USER_FETCHED: null,
|
||||
UPDATE_USER: null,
|
||||
USER_UPDATED: null
|
||||
});
|
Reference in New Issue
Block a user