@lasterp/shared 1.0.0-alpha.14 → 1.0.0-alpha.15

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.
@@ -621,10 +621,12 @@ interface Product {
621
621
  description: string;
622
622
  }
623
623
  interface ProductVariant extends ItemVariant {
624
+ name: string;
624
625
  currency: string;
625
626
  rate: number;
626
627
  qty: number;
627
628
  images: string[];
629
+ specs: Record<string, string>;
628
630
  }
629
631
  interface ShopContext {
630
632
  categories: Category[];
@@ -636,9 +638,7 @@ interface ShopContext {
636
638
  interface ProductContext {
637
639
  product: Product;
638
640
  specs: Record<string, string[]>;
639
- variants: ProductVariant & {
640
- specs: Record<string, string>;
641
- }[];
641
+ variants: ProductVariant[];
642
642
  models: Model[];
643
643
  colors: Colour[];
644
644
  }
@@ -621,10 +621,12 @@ interface Product {
621
621
  description: string;
622
622
  }
623
623
  interface ProductVariant extends ItemVariant {
624
+ name: string;
624
625
  currency: string;
625
626
  rate: number;
626
627
  qty: number;
627
628
  images: string[];
629
+ specs: Record<string, string>;
628
630
  }
629
631
  interface ShopContext {
630
632
  categories: Category[];
@@ -636,9 +638,7 @@ interface ShopContext {
636
638
  interface ProductContext {
637
639
  product: Product;
638
640
  specs: Record<string, string[]>;
639
- variants: ProductVariant & {
640
- specs: Record<string, string>;
641
- }[];
641
+ variants: ProductVariant[];
642
642
  models: Model[];
643
643
  colors: Colour[];
644
644
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lasterp/shared",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.15",
4
4
  "description": "Shared repo for webapp and native app",
5
5
  "license": "MIT",
6
6
  "files": [