DaffCartRetrievalActionTransformedInjection

Represents an injection of a retrieval action that doesn't implement the DaffCartRetrievalAction interface. Contains a way to get the cart from the action.

Properties

Name Type Description
type T['type'] The action type.
transform <TCart extends DaffCart = DaffCart>(action: T) => Partial<TCart> A function that gets the retrieved cart from the action.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.