All files / src/app/core/store/shopping shopping-store.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24176x                                           176x  
import { createFeatureSelector } from '@ngrx/store';
 
import { CategoriesState } from './categories/categories.reducer';
import { FilterState } from './filter/filter.reducer';
import { ProductListingState } from './product-listing/product-listing.reducer';
import { ProductPricesState } from './product-prices/product-prices.reducer';
import { ProductsState } from './products/products.reducer';
import { PromotionsState } from './promotions/promotions.reducer';
import { SearchState } from './search/search.reducer';
import { WarrantiesState } from './warranties/warranties.reducer';
 
export interface ShoppingState {
  categories: CategoriesState;
  products: ProductsState;
  search: SearchState;
  filter: FilterState;
  promotions: PromotionsState;
  productListing: ProductListingState;
  productPrices: ProductPricesState;
  warranties: WarrantiesState;
}
 
export const getShoppingState = createFeatureSelector<ShoppingState>('shopping');