text: // The user constants object contains the redux user action types that can be dispatched in the react application,
  // async actions that perform http requests involve a request followed by a success or error response,
  // so each of these three steps is represented by a redux action.
  
  export const userConstants = {
      REGISTER_REQUEST: 'USERS_REGISTER_REQUEST',
      REGISTER_SUCCESS: 'USERS_REGISTER_SUCCESS',
      REGISTER_FAILURE: 'USERS_REGISTER_FAILURE',
  
      LOGIN_REQUEST: 'USERS_LOGIN_REQUEST',
      LOGIN_SUCCESS: 'USERS_LOGIN_SUCCESS',
      LOGIN_FAILURE: 'USERS_LOGIN_FAILURE',
  
      LOGOUT: 'USERS_LOGOUT',
  
      GETALL_REQUEST: 'USERS_GETALL_REQUEST',
      GETALL_SUCCESS: 'USERS_GETALL_SUCCESS',
      GETALL_FAILURE: 'USERS_GETALL_FAILURE',
  
      DELETE_REQUEST: 'USERS_DELETE_REQUEST',
      DELETE_SUCCESS: 'USERS_DELETE_SUCCESS',
      DELETE_FAILURE: 'USERS_DELETE_FAILURE',
  };
  