GitHub

DaffCategoryReducersState

import { DaffCategoryReducersState } from '@daffodil/category/state'

An interface to describe all of category state.

interface DaffCategoryReducersState<V extends DaffGenericCategory<V> = DaffCategory> {
  category: DaffCategoryReducerState
  categoryEntities: EntityState<V>
  pageMetadata: DaffCategoryPageMetadata
}

Properties

category
DaffCategoryReducerState

Redux state for category page metadata, category loading state, and errors associated with loading a category.

categoryEntities
EntityState<V>

Redux state for category entities.

pageMetadata
DaffCategoryPageMetadata

The product collection metadata for the category page.