DaffProductReviewEntitiesMemoizedSelectors

An interface for selectors related to product entities and prices for simple products.

Properties

Name Type Description
selectProductReviewEntitiesState MemoizedSelector<DaffReviewsStateRootSlice<T>, EntityState<T>> Selects the ngrx entities state for products.
selectProductReviewIds MemoizedSelector<DaffReviewsStateRootSlice<T>, EntityState<T>['ids']> Selects all ids for products in state.
selectProductReviewEntities MemoizedSelector<DaffReviewsStateRootSlice<T>, EntityState<T>['entities']> Selects the ngrx entities for all products in state.
selectAllProductReviews MemoizedSelector<DaffReviewsStateRootSlice<T>, T[]> Selects all products in state as an array.
selectProductReviewTotal MemoizedSelector<DaffReviewsStateRootSlice<T>, number> Selects the total number of products in state.
selectProductReview (productId: T['id']) => MemoizedSelector<DaffReviewsStateRootSlice<T>, T> Selects a product by id.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.