DaffCartLoadPartialSuccess
An action that indicates a user's cart is loaded but recoverable errors occurred. There should be enough data to render the cart but the user should probably be shown error messages as well. A common example is some cart items being out of stock.
import { DaffCartLoadPartialSuccess } from '@daffodil/cart/state'
class DaffCartLoadPartialSuccess<<T extends DaffCart = DaffCart>> implements DaffCartRetrievalAction<T> {
readonly type: DaffCartActionTypes.CartLoadPartialSuccessAction
payload: T
errors: DaffStateError[]
}
Properties
Name | Type | Description |
---|---|---|
type | DaffCartActionTypes.CartLoadPartialSuccessAction | |
payload | T | |
errors | DaffStateError[] |