rategame-shared 1.1.288 → 1.1.289

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.
@@ -1025,13 +1025,13 @@ export declare const listSchema: z.ZodObject<{
1025
1025
  badge?: string | undefined;
1026
1026
  }>;
1027
1027
  itemIds: z.ZodArray<z.ZodString, "many">;
1028
- type: z.ZodEnum<["game", "rating", "stadium"]>;
1028
+ type: z.ZodEnum<["game", "rating", "stadium", "stadium-rating"]>;
1029
1029
  league: z.ZodOptional<z.ZodString>;
1030
1030
  season: z.ZodOptional<z.ZodString>;
1031
1031
  public: z.ZodBoolean;
1032
1032
  likesCount: z.ZodOptional<z.ZodNumber>;
1033
1033
  }, "strip", z.ZodTypeAny, {
1034
- type: "rating" | "stadium" | "game";
1034
+ type: "rating" | "stadium" | "game" | "stadium-rating";
1035
1035
  id: string;
1036
1036
  name: string;
1037
1037
  public: boolean;
@@ -1050,7 +1050,7 @@ export declare const listSchema: z.ZodObject<{
1050
1050
  season?: string | undefined;
1051
1051
  likesCount?: number | undefined;
1052
1052
  }, {
1053
- type: "rating" | "stadium" | "game";
1053
+ type: "rating" | "stadium" | "game" | "stadium-rating";
1054
1054
  id: string;
1055
1055
  name: string;
1056
1056
  public: boolean;
@@ -2095,13 +2095,13 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
2095
2095
  badge?: string | undefined;
2096
2096
  }>;
2097
2097
  itemIds: z.ZodArray<z.ZodString, "many">;
2098
- type: z.ZodEnum<["game", "rating", "stadium"]>;
2098
+ type: z.ZodEnum<["game", "rating", "stadium", "stadium-rating"]>;
2099
2099
  league: z.ZodOptional<z.ZodString>;
2100
2100
  season: z.ZodOptional<z.ZodString>;
2101
2101
  public: z.ZodBoolean;
2102
2102
  likesCount: z.ZodOptional<z.ZodNumber>;
2103
2103
  }, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
2104
- type: "rating" | "stadium" | "game";
2104
+ type: "rating" | "stadium" | "game" | "stadium-rating";
2105
2105
  name: string;
2106
2106
  public: boolean;
2107
2107
  user: {
@@ -2117,7 +2117,7 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
2117
2117
  season?: string | undefined;
2118
2118
  likesCount?: number | undefined;
2119
2119
  }, {
2120
- type: "rating" | "stadium" | "game";
2120
+ type: "rating" | "stadium" | "game" | "stadium-rating";
2121
2121
  name: string;
2122
2122
  public: boolean;
2123
2123
  user: {
@@ -5283,10 +5283,10 @@ export declare const searchListSchema: z.ZodObject<{
5283
5283
  limit: z.ZodOptional<z.ZodString>;
5284
5284
  userId: z.ZodOptional<z.ZodString>;
5285
5285
  showPrivate: z.ZodOptional<z.ZodBoolean>;
5286
- type: z.ZodOptional<z.ZodEnum<["game", "rating", "stadium"]>>;
5286
+ type: z.ZodOptional<z.ZodEnum<["game", "rating", "stadium", "stadium-rating"]>>;
5287
5287
  profileId: z.ZodOptional<z.ZodString>;
5288
5288
  }, "strip", z.ZodTypeAny, {
5289
- type?: "rating" | "stadium" | "game" | undefined;
5289
+ type?: "rating" | "stadium" | "game" | "stadium-rating" | undefined;
5290
5290
  offset?: string | undefined;
5291
5291
  q?: string | undefined;
5292
5292
  limit?: string | undefined;
@@ -5295,7 +5295,7 @@ export declare const searchListSchema: z.ZodObject<{
5295
5295
  showPrivate?: boolean | undefined;
5296
5296
  profileId?: string | undefined;
5297
5297
  }, {
5298
- type?: "rating" | "stadium" | "game" | undefined;
5298
+ type?: "rating" | "stadium" | "game" | "stadium-rating" | undefined;
5299
5299
  offset?: string | undefined;
5300
5300
  q?: string | undefined;
5301
5301
  limit?: string | undefined;
@@ -11,7 +11,7 @@ exports.listSchema = zod_1.z.object({
11
11
  updatedAt: zod_1.z.number().optional(),
12
12
  user: user_1.reducedUserSchema,
13
13
  itemIds: zod_1.z.array(zod_1.z.string()),
14
- type: zod_1.z.enum(["game", "rating", "stadium"]),
14
+ type: zod_1.z.enum(["game", "rating", "stadium", "stadium-rating"]),
15
15
  league: zod_1.z.string().optional(),
16
16
  season: zod_1.z.string().optional(),
17
17
  public: zod_1.z.boolean(),
@@ -48,6 +48,6 @@ exports.searchListSchema = zod_1.z.object({
48
48
  limit: zod_1.z.string().optional(),
49
49
  userId: zod_1.z.string().optional(),
50
50
  showPrivate: zod_1.z.boolean().optional(),
51
- type: zod_1.z.enum(["game", "rating", "stadium"]).optional(),
51
+ type: zod_1.z.enum(["game", "rating", "stadium", "stadium-rating"]).optional(),
52
52
  profileId: zod_1.z.string().optional(),
53
53
  });
@@ -1779,8 +1779,10 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
1779
1779
  userId: z.ZodOptional<z.ZodString>;
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
+ q: z.ZodOptional<z.ZodString>;
1782
1783
  }, "strip", z.ZodTypeAny, {
1783
1784
  offset?: string | undefined;
1785
+ q?: string | undefined;
1784
1786
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
1785
1787
  username?: string | undefined;
1786
1788
  limit?: string | undefined;
@@ -1789,6 +1791,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
1789
1791
  showEmptyRatings?: string | undefined;
1790
1792
  }, {
1791
1793
  offset?: string | undefined;
1794
+ q?: string | undefined;
1792
1795
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
1793
1796
  username?: string | undefined;
1794
1797
  limit?: string | undefined;
@@ -75,6 +75,7 @@ exports.searchStadiumRatingSchema = zod_1.z.object({
75
75
  userId: zod_1.z.string().optional(),
76
76
  username: zod_1.z.string().optional(),
77
77
  league: sharedTypes_1.leagueSlug.optional(),
78
+ q: zod_1.z.string().optional(),
78
79
  });
79
80
  exports.createStadiumRatingSchema = exports.stadiumRatingSchema
80
81
  .omit({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.288",
3
+ "version": "1.1.289",
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",