GitHub

DaffBestSellersReducerState

import { DaffBestSellersReducerState } from '@daffodil/product/state'

An interface describing best sellers redux state.

interface DaffBestSellersReducerState {
  productIds: string[]
  loading: boolean
  errors: DaffStateError[]
}

Properties

productIds
string[]

Product ids for best selling products.

loading
boolean

Whether any best selling products are loading.

errors
DaffStateError[]

Any products associated with loading best selling products.