@signskart/shared 1.3.38 → 1.3.40
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/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -602,9 +602,11 @@ interface ICartItem {
|
|
|
602
602
|
|
|
603
603
|
interface ICart {
|
|
604
604
|
_id: string;
|
|
605
|
+
cartId: string;
|
|
605
606
|
cartItems: ICartItem[];
|
|
606
|
-
user
|
|
607
|
-
coupon
|
|
607
|
+
user?: ICustomer;
|
|
608
|
+
coupon?: ICoupon;
|
|
609
|
+
store: IStore;
|
|
608
610
|
metaData: {};
|
|
609
611
|
subTotalAmount: number;
|
|
610
612
|
discountAmount: number;
|
|
@@ -630,6 +632,7 @@ interface IOrder {
|
|
|
630
632
|
_id: string;
|
|
631
633
|
orderItems: IOrderItem[];
|
|
632
634
|
cart: ICart;
|
|
635
|
+
store: IStore;
|
|
633
636
|
coupon: ICoupon;
|
|
634
637
|
customer: ICustomer;
|
|
635
638
|
subTotalAmount: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -602,9 +602,11 @@ interface ICartItem {
|
|
|
602
602
|
|
|
603
603
|
interface ICart {
|
|
604
604
|
_id: string;
|
|
605
|
+
cartId: string;
|
|
605
606
|
cartItems: ICartItem[];
|
|
606
|
-
user
|
|
607
|
-
coupon
|
|
607
|
+
user?: ICustomer;
|
|
608
|
+
coupon?: ICoupon;
|
|
609
|
+
store: IStore;
|
|
608
610
|
metaData: {};
|
|
609
611
|
subTotalAmount: number;
|
|
610
612
|
discountAmount: number;
|
|
@@ -630,6 +632,7 @@ interface IOrder {
|
|
|
630
632
|
_id: string;
|
|
631
633
|
orderItems: IOrderItem[];
|
|
632
634
|
cart: ICart;
|
|
635
|
+
store: IStore;
|
|
633
636
|
coupon: ICoupon;
|
|
634
637
|
customer: ICustomer;
|
|
635
638
|
subTotalAmount: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signskart/shared",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.40",
|
|
4
4
|
"description": "Production-grade upload manager SDK with queue, progress tracking, retry logic, and multi-provider support (S3, Cloudinary).",
|
|
5
5
|
"author": "Signskart",
|
|
6
6
|
"license": "UNLICENSED",
|