DaffBestSellersMemoizedSelectors
An interface for the available best sellers selectors.
import { DaffBestSellersMemoizedSelectors } from '@daffodil/product/state'
interface DaffBestSellersMemoizedSelectors<T extends DaffProduct = DaffProduct> {
selectBestSellersState: MemoizedSelector<DaffProductStateRootSlice<T>, DaffBestSellersReducerState>
selectBestSellersLoadingState: MemoizedSelector<DaffProductStateRootSlice<T>, boolean>
selectBestSellersIdsState: MemoizedSelector<DaffProductStateRootSlice<T>, T['id'][]>
selectBestSellersProducts: MemoizedSelector<DaffProductStateRootSlice<T>, T[]>
}
Properties
Name | Type | Description |
---|---|---|
selectBestSellersState | MemoizedSelector<DaffProductStateRootSlice<T>, DaffBestSellersReducerState> | Selector for best sellers feature state |
selectBestSellersLoadingState | MemoizedSelector<DaffProductStateRootSlice<T>, boolean> | Selector for the loading state of best selling products. |
selectBestSellersIdsState | MemoizedSelector<DaffProductStateRootSlice<T>, T['id'][]> | Selector for the IDs of best selling products. |
selectBestSellersProducts | MemoizedSelector<DaffProductStateRootSlice<T>, T[]> | Selector for the best selling products. |