graycoreio/daffodil

View on GitHub
libs/cart/state/src/reducers/cart-reducers.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { ActionReducerMap } from '@ngrx/store';

import { daffCartItemEntitiesReducer } from './cart-item-entities/cart-item-entities.reducer';
import { daffCartOrderReducer } from './cart-order/cart-order.reducer';
import { DaffCartReducersState } from './cart-reducers-state.interface';
import { daffCartReducer } from './cart.reducer';

export const daffCartReducers: ActionReducerMap<DaffCartReducersState> = {
  cart: daffCartReducer,
  cartItems: daffCartItemEntitiesReducer,
  order: daffCartOrderReducer,
};