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