import { DaffCartLoadPartialSuccess } from '@daffodil/cart/state'
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.
class DaffCartLoadPartialSuccess<<T extends DaffCart = DaffCart>> implements DaffCartRetrievalAction<T> {
readonly type: DaffCartActionTypes.CartLoadPartialSuccessAction = DaffCartActionTypes.CartLoadPartialSuccessAction
payload: T
errors: DaffStateError[]
}