mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-06-13 05:29:24 -04:00
Initial plumbing for moving to Redux
This commit is contained in:
13
js/constants/AccountConstants.js
Normal file
13
js/constants/AccountConstants.js
Normal file
@ -0,0 +1,13 @@
|
||||
var keyMirror = require('keymirror');
|
||||
|
||||
module.exports = keyMirror({
|
||||
FETCH_ACCOUNTS: null,
|
||||
ACCOUNTS_FETCHED: null,
|
||||
CREATE_ACCOUNT: null,
|
||||
ACCOUNT_CREATED: null,
|
||||
UPDATE_ACCOUNT: null,
|
||||
ACCOUNT_UPDATED: null,
|
||||
REMOVE_ACCOUNT: null,
|
||||
ACCOUNT_REMOVED: null,
|
||||
ACCOUNT_SELECTED: null
|
||||
});
|
8
js/constants/ErrorConstants.js
Normal file
8
js/constants/ErrorConstants.js
Normal file
@ -0,0 +1,8 @@
|
||||
var keyMirror = require('keymirror');
|
||||
|
||||
module.exports = keyMirror({
|
||||
ERROR_AJAX: null,
|
||||
ERROR_SERVER: null,
|
||||
ERROR_CLIENT: null,
|
||||
ERROR_USER: null,
|
||||
});
|
Reference in New Issue
Block a user