rategame-shared 1.1.216 → 1.1.217

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.
@@ -382,6 +382,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
382
382
  mlbTeamLeague: import("zod").ZodOptional<import("zod").ZodString>;
383
383
  division: import("zod").ZodOptional<import("zod").ZodString>;
384
384
  fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
385
+ category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
385
386
  }, "strip", import("zod").ZodTypeAny, {
386
387
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
387
388
  offset?: string | undefined;
@@ -394,6 +395,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
394
395
  teamId?: string | undefined;
395
396
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
396
397
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
398
+ category?: "watched" | "attended" | "highlights" | undefined;
397
399
  gameId?: string | undefined;
398
400
  showEmptyRatings?: string | undefined;
399
401
  following?: string | undefined;
@@ -412,6 +414,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
412
414
  teamId?: string | undefined;
413
415
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
414
416
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
417
+ category?: "watched" | "attended" | "highlights" | undefined;
415
418
  gameId?: string | undefined;
416
419
  showEmptyRatings?: string | undefined;
417
420
  following?: string | undefined;
@@ -74,6 +74,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
74
74
  (0, zod_1.literal)("homeTeam"),
75
75
  (0, zod_1.literal)("awayTeam"),
76
76
  ]).optional(),
77
+ category: exports.ratingCategorySchema.optional(),
77
78
  });
78
79
  exports.ratingLikeSchema = (0, zod_1.object)({
79
80
  ratingId: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.216",
3
+ "version": "1.1.217",
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",