index.js 1.0 KB

1234567891011
  1. export { promiseReducer, actionPromise, actionFulfilled, actionPending, actionRejected } from "./promiseReducer";
  2. export { authApiReducer, authReducer, authApiReducerPath, loginApi, authReducerPath, actionAuthLogout } from './authReducer';
  3. export { cartReducer, actionAddGoodToCart, actionDeleteGoodFromCart, actionRestoreCart, actionClearCart, /*getCart,*/ } from "./cartReducer";
  4. export { cartGoodsApi, useGetCartGoodsQuery } from "./cartGoodsReducer";
  5. export { localStoredReducer, } from "./localStoredReducer";
  6. export { frontEndReducer, getCurrentCategory, actionSetGoodsPaging, actionSetOrdersPaging, getCurrentGood, getGoodsCount, getOrdersCount } from "./frontEndReducer";
  7. export { useGetRootCategoriesQuery, useGetCategoryByIdQuery } from './categoryReducer';
  8. export { ordersApi, useGetOrderByIdQuery, useGetOrdersCountQuery, useGetOrdersQuery, useAddOrderMutation } from './ordersReducer';
  9. export { goodsApi, useGetGoodByIdQuery, useGetGoodsCountQuery, useGetGoodsQuery, useSaveGoodMutation } from './goodsReducer';