@djaouad10/shared-types 1.0.19 → 1.0.21

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 +5 -0
  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
  };
@@ -130,6 +131,9 @@ export interface PublicRatingDTO {
130
131
  comment: string | null;
131
132
  isApproved: boolean;
132
133
  createdAt: Date;
134
+ user: {
135
+ name: string;
136
+ };
133
137
  }
134
138
  export interface RatingCursor {
135
139
  userId: string;
@@ -2412,6 +2416,7 @@ declare const auth: import("better-auth").Auth<{
2412
2416
  token: string;
2413
2417
  }, request: Request | undefined) => Promise<void>;
2414
2418
  };
2419
+ trustedOrigins: string[];
2415
2420
  }>;
2416
2421
  export type Auth = typeof auth;
2417
2422
  declare const ourFileRouter: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djaouad10/shared-types",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "types": "./index.d.ts",
5
5
  "publishConfig": {
6
6
  "access": "public"