@shopify/app-bridge-types 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/shopify.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/app-bridge-types",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Companion types library for the Shopify App Bridge script",
5
5
  "license": "ISC",
6
6
  "main": "./index.js",
package/shopify.ts CHANGED
@@ -175,6 +175,9 @@ interface Location_2 {
175
175
 
176
176
  export interface MenuItemProperties {
177
177
  variant?: 'primary' | 'breadcrumb' | null | undefined;
178
+ tone?: 'critical' | 'default';
179
+ disabled?: boolean;
180
+ loading?: boolean | string;
178
181
  }
179
182
 
180
183
  type Money = string;
@@ -224,6 +227,7 @@ interface Product extends Resource {
224
227
  templateSuffix?: string | null;
225
228
  title: string;
226
229
  totalInventory: number;
230
+ totalVariants: number;
227
231
  tracksInventory: boolean;
228
232
  variants: Partial<ProductVariant>[];
229
233
  vendor: string;