Updated location of attributeInput to be closer to the cart and its childrens definition. no image uri was a var in the master branch so I updated that as well.

This commit is contained in:
Triforce
2018-06-04 01:50:25 -04:00
parent 5d4312fe06
commit cdb51ba3d3
+13 -14
View File
@@ -389,6 +389,18 @@ declare namespace ShopifyBuy {
zip: String;
}
/**
* https://help.shopify.com/api/custom-storefronts/storefront-api/reference/input_object/attributeinput
* https://help.shopify.com/api/custom-storefronts/storefront-api/reference/input_object/checkoutlineitemupdateinput
*/
export interface AttributeInput {
key?: string;
value?: string;
id?: string | number;
quantity?: number;
variantId?: string;
}
export interface Shop {}
/**
@@ -421,22 +433,9 @@ declare namespace ShopifyBuy {
maxHeight: number;
}
/**
* https://help.shopify.com/api/custom-storefronts/storefront-api/reference/input_object/attributeinput
* https://help.shopify.com/api/custom-storefronts/storefront-api/reference/input_object/checkoutlineitemupdateinput
*/
export interface AttributeInput {
key?: string;
value?: string;
id?: string | number;
quantity?: number;
variantId?: string;
}
let NO_IMAGE_URI: string;
export interface GraphModel {}
// still have not figured this one out.
//export interface NO_IMAGE_URI extends string;
}
declare module "shopify-buy" {