mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Added options to core LineItem
This commit is contained in:
parent
a4f56d1549
commit
ca68375694
@ -17,6 +17,7 @@ export type LineItem = {
|
||||
// A human-friendly unique string automatically generated from the product’s name
|
||||
path: string
|
||||
variant: ProductVariant
|
||||
options?: any[]
|
||||
}
|
||||
|
||||
export type Measurement = {
|
||||
|
@ -10,9 +10,7 @@ export type ShopifyCheckout = {
|
||||
export type Cart = Core.Cart & {
|
||||
lineItems: LineItem[]
|
||||
}
|
||||
export interface LineItem extends Core.LineItem {
|
||||
options?: any[]
|
||||
}
|
||||
export type LineItem = Core.LineItem
|
||||
|
||||
/**
|
||||
* Cart mutations
|
||||
|
Loading…
x
Reference in New Issue
Block a user