GitHub

DaffCategoryReducersState

An interface to describe all of category state.

import { DaffCategoryReducersState } from '@daffodil/category/state'
interface DaffCategoryReducersState<V extends DaffGenericCategory<V> = DaffCategory> {
  category: DaffCategoryReducerState
  categoryEntities: EntityState<V>
  pageMetadata: DaffCategoryPageMetadataReducerState
}

Properties

Name Type Description
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 DaffCategoryPageMetadataReducerState

The product collection metadata for the category page.