@djaouad10/shared-types 1.0.20 → 1.0.22

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/index.d.ts +3 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -63,6 +63,7 @@ export type CartItemWithItsVariation = PublicCartItemDTO & {
63
63
  price: number;
64
64
  discount_price: number | null;
65
65
  images: PublicImageDTO[];
66
+ name: string;
66
67
  };
67
68
  };
68
69
  };
@@ -89,12 +90,10 @@ export interface PublicOrderDTO {
89
90
  status: OrderStatus;
90
91
  shipping_status: string | null;
91
92
  total_order_price: number;
92
- total_product_price: number;
93
+ total_products_price: number;
93
94
  shipping_price_at_order_time: number;
94
95
  selected_shipping_provider: ShippingProvider;
95
96
  shipping_details_id: string | null;
96
- delivery_type: DeliveryType;
97
- fragile: boolean;
98
97
  total_weight_in_kg: number;
99
98
  }
100
99
  export interface PublicShippingDetailsDTO {
@@ -646,13 +645,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
646
645
  status: import("@prisma/client").$Enums.OrderStatus;
647
646
  shipping_status: string | null;
648
647
  total_order_price: number;
648
+ total_products_price: number;
649
649
  shipping_price_at_order_time: number;
650
650
  selected_shipping_provider: "WORLD_EXPRESS";
651
651
  total_weight_in_kg: number;
652
652
  shipping_details_id: string;
653
- total_product_price: never;
654
- delivery_type: never;
655
- fragile: never;
656
653
  }[];
657
654
  nextCursor: string | undefined;
658
655
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djaouad10/shared-types",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "types": "./index.d.ts",
5
5
  "publishConfig": {
6
6
  "access": "public"