web / UseCart
Interface: UseCart ​
Properties ​
addItemsToCart ​
addItemsToCart:
AddItemsToCart
Defined in ​
apps/web/composables/useCart/types.ts:30
addToCart ​
addToCart:
AddToCart
Defined in ​
apps/web/composables/useCart/types.ts:29
cartIsEmpty ​
cartIsEmpty:
ComputedRef
<boolean
>
Defined in ​
apps/web/composables/useCart/types.ts:36
clearCartItems ​
clearCartItems:
ClearCartItems
Defined in ​
apps/web/composables/useCart/types.ts:34
data ​
data:
Readonly
<Ref
<Cart
,Cart
>>
Defined in ​
apps/web/composables/useCart/types.ts:25
deleteCartItem ​
deleteCartItem:
DeleteCartItem
Defined in ​
apps/web/composables/useCart/types.ts:31
getCart ​
getCart:
GetCart
Defined in ​
apps/web/composables/useCart/types.ts:28
lastUpdatedCartItem ​
lastUpdatedCartItem:
Readonly
<Ref
<CartItem
,CartItem
>>
Defined in ​
apps/web/composables/useCart/types.ts:35
loading ​
loading:
Ref
<boolean
,boolean
>
Defined in ​
apps/web/composables/useCart/types.ts:27
setCart ​
setCart:
SetCart
Defined in ​
apps/web/composables/useCart/types.ts:33
setCartItemQuantity ​
setCartItemQuantity:
SetCartItemQuantity
Defined in ​
apps/web/composables/useCart/types.ts:32
useAsShippingAddress ​
useAsShippingAddress:
Ref
<boolean
,boolean
>