mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
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:
Vendored
+13
-14
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user