Added options to core LineItem

This commit is contained in:
matthew collins 2021-05-06 09:33:13 -04:00
parent a4f56d1549
commit ca68375694
2 changed files with 2 additions and 3 deletions

View File

@ -17,6 +17,7 @@ export type LineItem = {
// A human-friendly unique string automatically generated from the products name // A human-friendly unique string automatically generated from the products name
path: string path: string
variant: ProductVariant variant: ProductVariant
options?: any[]
} }
export type Measurement = { export type Measurement = {

View File

@ -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