@djaouad10/shared-types 1.0.17 → 1.0.19

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 +4 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -95,7 +95,7 @@ export interface PublicOrderDTO {
95
95
  shipping_details_id: string | null;
96
96
  delivery_type: DeliveryType;
97
97
  fragile: boolean;
98
- total_weight: number;
98
+ total_weight_in_kg: number;
99
99
  }
100
100
  export interface PublicShippingDetailsDTO {
101
101
  id: string;
@@ -645,7 +645,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
645
645
  total_order_price: number;
646
646
  shipping_price_at_order_time: number;
647
647
  selected_shipping_provider: "WORLD_EXPRESS";
648
- total_weight: number;
648
+ total_weight_in_kg: number;
649
649
  shipping_details_id: string;
650
650
  total_product_price: never;
651
651
  delivery_type: never;
@@ -1241,7 +1241,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1241
1241
  };
1242
1242
  output: {
1243
1243
  homeDeliveryFee: number;
1244
- stopeDeskFee: number;
1244
+ stopDeskFee: number;
1245
1245
  };
1246
1246
  meta: object;
1247
1247
  }>;
@@ -2197,7 +2197,7 @@ declare const auth: import("better-auth").Auth<{
2197
2197
  $Infer: {
2198
2198
  body: {
2199
2199
  permissions: {
2200
- readonly user?: ("set-role" | "create" | "update" | "delete" | "get" | "list" | "ban" | "impersonate" | "impersonate-admins" | "set-password")[] | undefined;
2200
+ readonly user?: ("delete" | "get" | "set-role" | "create" | "update" | "list" | "ban" | "impersonate" | "impersonate-admins" | "set-password")[] | undefined;
2201
2201
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
2202
2202
  };
2203
2203
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djaouad10/shared-types",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "types": "./index.d.ts",
5
5
  "publishConfig": {
6
6
  "access": "public"