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
|
// A human-friendly unique string automatically generated from the product’s name
|
||||||
path: string
|
path: string
|
||||||
variant: ProductVariant
|
variant: ProductVariant
|
||||||
|
options?: any[]
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Measurement = {
|
export type Measurement = {
|
||||||
|
@ -10,9 +10,7 @@ export type ShopifyCheckout = {
|
|||||||
export type Cart = Core.Cart & {
|
export type Cart = Core.Cart & {
|
||||||
lineItems: LineItem[]
|
lineItems: LineItem[]
|
||||||
}
|
}
|
||||||
export interface LineItem extends Core.LineItem {
|
export type LineItem = Core.LineItem
|
||||||
options?: any[]
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cart mutations
|
* Cart mutations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user