rategame-shared 1.1.292 → 1.1.294

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.
@@ -4102,12 +4102,15 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
4102
4102
  export declare const profileRatingStatsSchema: import("zod").ZodObject<{
4103
4103
  avgRating: import("zod").ZodString;
4104
4104
  ratedGames: import("zod").ZodString;
4105
+ stadiumRatings: import("zod").ZodNumber;
4105
4106
  }, "strip", import("zod").ZodTypeAny, {
4106
4107
  avgRating: string;
4107
4108
  ratedGames: string;
4109
+ stadiumRatings: number;
4108
4110
  }, {
4109
4111
  avgRating: string;
4110
4112
  ratedGames: string;
4113
+ stadiumRatings: number;
4111
4114
  }>;
4112
4115
  export declare const seasonStatsSchema: import("zod").ZodObject<{
4113
4116
  season: import("zod").ZodString;
@@ -149,6 +149,7 @@ exports.threadCommentLikeSchema = (0, zod_1.object)({
149
149
  exports.profileRatingStatsSchema = (0, zod_1.object)({
150
150
  avgRating: (0, zod_1.string)(),
151
151
  ratedGames: (0, zod_1.string)(),
152
+ stadiumRatings: (0, zod_1.number)(),
152
153
  });
153
154
  exports.seasonStatsSchema = (0, zod_1.object)({
154
155
  season: (0, zod_1.string)(),
@@ -1780,6 +1780,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
1780
1780
  username: z.ZodOptional<z.ZodString>;
1781
1781
  league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
1782
1782
  q: z.ZodOptional<z.ZodString>;
1783
+ onlyUserRatings: z.ZodOptional<z.ZodBoolean>;
1783
1784
  }, "strip", z.ZodTypeAny, {
1784
1785
  offset?: string | undefined;
1785
1786
  q?: string | undefined;
@@ -1789,6 +1790,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
1789
1790
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
1790
1791
  userId?: string | undefined;
1791
1792
  showEmptyRatings?: string | undefined;
1793
+ onlyUserRatings?: boolean | undefined;
1792
1794
  }, {
1793
1795
  offset?: string | undefined;
1794
1796
  q?: string | undefined;
@@ -1798,6 +1800,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
1798
1800
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
1799
1801
  userId?: string | undefined;
1800
1802
  showEmptyRatings?: string | undefined;
1803
+ onlyUserRatings?: boolean | undefined;
1801
1804
  }>;
1802
1805
  export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1803
1806
  id: z.ZodString;
@@ -76,6 +76,7 @@ exports.searchStadiumRatingSchema = zod_1.z.object({
76
76
  username: zod_1.z.string().optional(),
77
77
  league: sharedTypes_1.leagueSlug.optional(),
78
78
  q: zod_1.z.string().optional(),
79
+ onlyUserRatings: zod_1.z.boolean().optional(),
79
80
  });
80
81
  exports.createStadiumRatingSchema = exports.stadiumRatingSchema
81
82
  .omit({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.292",
3
+ "version": "1.1.294",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",