@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.
- package/dist/node/index.d.ts +3 -3
- package/dist/rn/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/node/index.d.ts
CHANGED
|
@@ -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/dist/rn/index.d.ts
CHANGED
|
@@ -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
|
}
|