export { Action } from 'redux';
import * as AuthActions from './auth';
import * as ChatActions from './chat';
import * as EmployeeActions from './employee';
import * as EmployerActions from './employer';
import * as NavActions from './navigation';
import * as OfferActions from './offer';
import * as UserActions from './user';

export {
  AuthActions,
  UserActions,
  OfferActions,
  NavActions,
  EmployerActions,
  EmployeeActions,
  ChatActions,
};

export type ActionType = AuthActions.ActionType
  | UserActions.ActionType
  | NavActions.ActionType
  | EmployerActions.ActionType
  | EmployeeActions.ActionType
  | ChatActions.ActionType
  | OfferActions.ActionType;

export type ActionKey = AuthActions.ActionKey
  | UserActions.ActionKey
  | NavActions.ActionKey
  | EmployerActions.ActionKey
  | EmployeeActions.ActionKey
  | ChatActions.ActionKey
  | OfferActions.ActionKey;
