@lasterp/shared 1.0.0-alpha.16 → 1.0.0-alpha.17

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.
@@ -639,8 +639,8 @@ interface ProductContext {
639
639
  product: Product;
640
640
  specs: Record<string, string[]>;
641
641
  variants: ProductVariant[];
642
- models: Model[];
643
- colors: Colour[];
642
+ models: Record<string, Model>;
643
+ colors: Record<string, Colour>;
644
644
  }
645
645
  import { camelize, decamelize, camelizeKeys, decamelizeKeys } from "humps";
646
646
  declare function equalsIgnoreCase(str1: string, str2: string): boolean;
@@ -639,8 +639,8 @@ interface ProductContext {
639
639
  product: Product;
640
640
  specs: Record<string, string[]>;
641
641
  variants: ProductVariant[];
642
- models: Model[];
643
- colors: Colour[];
642
+ models: Record<string, Model>;
643
+ colors: Record<string, Colour>;
644
644
  }
645
645
  import { camelize, decamelize, camelizeKeys, decamelizeKeys } from "humps";
646
646
  declare function equalsIgnoreCase(str1: string, str2: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lasterp/shared",
3
- "version": "1.0.0-alpha.16",
3
+ "version": "1.0.0-alpha.17",
4
4
  "description": "Shared repo for webapp and native app",
5
5
  "license": "MIT",
6
6
  "files": [