app/containers/App/constants.js
/*
* AppConstants
* Each action has a corresponding type, which the reducer knows and picks up on.
* To avoid weird typos between the reducer and the actions, we save them as
* constants here. We prefix them with 'yourproject/YourComponent' so we avoid
* reducers accidentally picking up actions they shouldn't.
*
* Follow this format:
* export const YOUR_ACTION_CONSTANT = 'yourproject/YourContainer/YOUR_ACTION_CONSTANT';
*/
export const DEFAULT_LOCALE = 'en';
export const SET_TOKEN = 'app/App/SET_TOKEN';
export const LOGOUT = 'app/App/LOGOUT';
export const TOGGLE_DRAWER = 'app/App/TOGGLE_DRAWER';
export const SORT = 'app/App/SORT';
export const PAGE_CHANGE = 'app/App/PAGE_CHANGE';
export const ROWS_PER_PAGE_CHANGE = 'app/App/ROWS_PER_PAGE_CHANGE';