GitHub

daffOrdersCollectionReducer

function

import { daffOrdersCollectionReducer } from '@daffodil/order/state'

Handles the reduction of order actions into the collection metadata state.

Parameters

Parameterstate: DaffCollectionMetadata
DefaultdaffCollectionReducerInitialState
Description
Parameteraction: DaffOrderCollectionChangePageSize | DaffOrderCollectionChangeCurrentPage | DaffOrderCollectionChangeSortingOption | ... 6 more ... | DaffOrderListSuccess<...>
Description