@shopify/app-bridge
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -17,2 +17,12 @@ /** | ||
export declare type Money = string; | ||
export declare enum CollectionSortOrder { | ||
Manual = "MANUAL", | ||
BestSelling = "BEST_SELLING", | ||
AlphaAsc = "ALPHA_ASC", | ||
AlphaDesc = "ALPHA_DESC", | ||
PriceDesc = "PRICE_DESC", | ||
PriceAsc = "PRICE_ASC", | ||
CreatedDesc = "CREATED_DESC", | ||
Created = "CREATED", | ||
} | ||
export declare enum FulfillmentServiceType { | ||
@@ -45,5 +55,24 @@ GiftCard = "GIFT_CARD", | ||
id: string; | ||
createdAt: string; | ||
updatedAt: string; | ||
} | ||
export interface Collection extends Resource { | ||
availablePublicationCount: number; | ||
description: string; | ||
descriptionHtml: string; | ||
handle: string; | ||
id: string; | ||
image?: Image | null; | ||
productsAutomaticallySortedCount: number; | ||
productsCount: number; | ||
productsManuallySortedCount: number; | ||
publicationCount: number; | ||
seo: { | ||
description?: string | null; | ||
title?: string | null; | ||
}; | ||
sortOrder: CollectionSortOrder; | ||
storefrontId: string; | ||
templateSuffix?: string | null; | ||
title: string; | ||
} | ||
export interface ProductVariant extends Resource { | ||
@@ -53,2 +82,3 @@ availableForSale: boolean; | ||
compareAtPrice?: Money | null; | ||
createdAt: string; | ||
displayName: string; | ||
@@ -84,2 +114,3 @@ fulfillmentService?: { | ||
availablePublicationCount: number; | ||
createdAt: string; | ||
descriptionHtml: string; | ||
@@ -105,3 +136,2 @@ handle: string; | ||
} | ||
export declare type Collection = Resource; | ||
export interface ClosePayload { | ||
@@ -108,0 +138,0 @@ readonly id?: string; |
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.2.3"></a> | ||
## [0.2.3](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.2...@shopify/app-bridge@0.2.3) (2018-09-26) | ||
### Features | ||
* add detailed collection interface ([d0eefed](https://github.com/Shopify/app-bridge/commit/d0eefed)) | ||
<a name="0.2.2"></a> | ||
@@ -8,0 +19,0 @@ ## [0.2.2](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.1...@shopify/app-bridge@0.2.2) (2018-09-26) |
{ | ||
"name": "@shopify/app-bridge", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"types": "index.d.ts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1744161
2465