GitHub

DaffCartCreateSuccess

Indicates the successful creation of a new cart.

import { DaffCartCreateSuccess } from '@daffodil/cart/state'
class DaffCartCreateSuccess<<T extends DaffCart = DaffCart>>  implements Action {
  readonly type: DaffCartActionTypes.CartCreateSuccessAction
  payload: Pick<T, 'id'>
}

Properties

Name Type Description
type DaffCartActionTypes.CartCreateSuccessAction
payload Pick<T, 'id'>