rategame-shared 1.1.403 → 1.1.404

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.
@@ -744,6 +744,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
744
744
  round: import("zod").ZodOptional<import("zod").ZodString>;
745
745
  roundName: import("zod").ZodOptional<import("zod").ZodString>;
746
746
  league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodUnion<[import("zod").ZodLiteral<"global">, import("zod").ZodString]>]>, import("zod").ZodString]>>;
747
+ leagues: import("zod").ZodOptional<import("zod").ZodString>;
747
748
  createdAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"16hr">, import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"Last 3 Days">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"2025">, import("zod").ZodLiteral<"2024">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
748
749
  sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">, import("zod").ZodLiteral<"game.startedAt:desc">]>>;
749
750
  limit: import("zod").ZodOptional<import("zod").ZodString>;
@@ -772,6 +773,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
772
773
  league?: string | undefined;
773
774
  username?: string | undefined;
774
775
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
776
+ leagues?: string | undefined;
775
777
  following?: string | undefined;
776
778
  limit?: string | undefined;
777
779
  customDateFrom?: string | undefined;
@@ -799,6 +801,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
799
801
  league?: string | undefined;
800
802
  username?: string | undefined;
801
803
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
804
+ leagues?: string | undefined;
802
805
  following?: string | undefined;
803
806
  limit?: string | undefined;
804
807
  customDateFrom?: string | undefined;
@@ -89,6 +89,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
89
89
  round: (0, zod_1.string)().optional(),
90
90
  roundName: (0, zod_1.string)().optional(),
91
91
  league: sharedTypes_1.leagueSlug.or((0, zod_1.string)()).optional(),
92
+ leagues: (0, zod_1.string)().optional(),
92
93
  createdAt: sharedTypes_1.timeFilterSchema.optional(),
93
94
  sortBy: sharedTypes_1.ratingSortSchema.optional(),
94
95
  limit: (0, zod_1.string)().optional(),
@@ -2024,6 +2024,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
2024
2024
  userId: z.ZodOptional<z.ZodString>;
2025
2025
  username: z.ZodOptional<z.ZodString>;
2026
2026
  league: z.ZodOptional<z.ZodUnion<[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.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
2027
+ leagues: z.ZodOptional<z.ZodString>;
2027
2028
  q: z.ZodOptional<z.ZodString>;
2028
2029
  onlyUserRatings: z.ZodOptional<z.ZodString>;
2029
2030
  ratingMin: z.ZodOptional<z.ZodString>;
@@ -2037,6 +2038,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
2037
2038
  league?: string | undefined;
2038
2039
  username?: string | undefined;
2039
2040
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
2041
+ leagues?: string | undefined;
2040
2042
  limit?: string | undefined;
2041
2043
  customDateFrom?: string | undefined;
2042
2044
  customDateTo?: string | undefined;
@@ -2052,6 +2054,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
2052
2054
  league?: string | undefined;
2053
2055
  username?: string | undefined;
2054
2056
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
2057
+ leagues?: string | undefined;
2055
2058
  limit?: string | undefined;
2056
2059
  customDateFrom?: string | undefined;
2057
2060
  customDateTo?: string | undefined;
@@ -78,6 +78,7 @@ exports.searchStadiumRatingSchema = zod_1.z.object({
78
78
  userId: zod_1.z.string().optional(),
79
79
  username: zod_1.z.string().optional(),
80
80
  league: sharedTypes_1.leagueSlug.or((0, zod_2.string)()).optional(),
81
+ leagues: zod_1.z.string().optional(),
81
82
  q: zod_1.z.string().optional(),
82
83
  onlyUserRatings: zod_1.z.string().optional(),
83
84
  ratingMin: zod_1.z.string().optional(),
@@ -2570,6 +2570,7 @@ export declare const searchTriviaSchema: z.ZodObject<{
2570
2570
  type: z.ZodOptional<z.ZodEnum<["team", "league", "stadium", "game"]>>;
2571
2571
  teamId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2572
2572
  league: z.ZodOptional<z.ZodString>;
2573
+ leagues: z.ZodOptional<z.ZodString>;
2573
2574
  stadiumId: z.ZodOptional<z.ZodString>;
2574
2575
  gameId: z.ZodOptional<z.ZodString>;
2575
2576
  userId: z.ZodOptional<z.ZodString>;
@@ -2587,6 +2588,7 @@ export declare const searchTriviaSchema: z.ZodObject<{
2587
2588
  q?: string | undefined;
2588
2589
  league?: string | undefined;
2589
2590
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
2591
+ leagues?: string | undefined;
2590
2592
  customDateFrom?: string | undefined;
2591
2593
  customDateTo?: string | undefined;
2592
2594
  stadiumId?: string | undefined;
@@ -2601,6 +2603,7 @@ export declare const searchTriviaSchema: z.ZodObject<{
2601
2603
  q?: string | undefined;
2602
2604
  league?: string | undefined;
2603
2605
  createdAt?: "16hr" | "Today" | "Last 3 Days" | "This Week" | "This Season" | "This Month" | "This Year" | "2025" | "2024" | "All" | "All Time" | "12h" | "daily" | "weekly" | undefined;
2606
+ leagues?: string | undefined;
2604
2607
  limit?: string | undefined;
2605
2608
  customDateFrom?: string | undefined;
2606
2609
  customDateTo?: string | undefined;
@@ -94,6 +94,7 @@ exports.searchTriviaSchema = zod_1.z.object({
94
94
  type: exports.triviaTypeSchema.optional(),
95
95
  teamId: zod_1.z.union([zod_1.z.string(), zod_1.z.number()]).optional(),
96
96
  league: zod_1.z.string().optional(),
97
+ leagues: zod_1.z.string().optional(),
97
98
  stadiumId: zod_1.z.string().optional(),
98
99
  gameId: zod_1.z.string().optional(),
99
100
  userId: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.403",
3
+ "version": "1.1.404",
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",