/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */
import { combineReducers } from 'redux';
import productReducer from './Product';
import homePageReducer from './HomePage';
import productDetailsPageReducer from './ProductDetailsPage';
import authenticationReducer from './Authentication';
import cartReducer from './Cart';
import userReducer from './User'


const allReducers= combineReducers({
  product: productReducer,
  home: homePageReducer,
  productDetails: productDetailsPageReducer,
  auth: authenticationReducer,
  cart: cartReducer,
  user: userReducer
});

export type AppReduxState = ReturnType<typeof allReducers>

export default allReducers;