GitHub

daffCustomerAddressEntitiesReducer

Reducer function that catches actions and changes/overwrites product entities state.

import { daffCustomerAddressEntitiesReducer } from '@daffodil/customer/state'
function daffCustomerAddressEntitiesReducer<T extends DaffCustomerAddress = DaffCustomerAddress>(
  state: DaffOperationEntityState<T> = daffCustomerAddressEntitiesAdapter<T>().getInitialState()
  action: DaffCustomerAddressList | DaffCustomerAddressListFailure | DaffCustomerAddressLoad | ... 24 more ... | DaffCustomerChangeEmailSuccess<...>
): DaffOperationEntityState<T>