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
path: string
variant: ProductVariant
options?: any[]
}
export type Measurement = {

View File

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