rategame-shared 1.1.215 → 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;
@@ -2664,12 +2667,15 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
2664
2667
  authorGameRating: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
2665
2668
  id: import("zod").ZodString;
2666
2669
  value: import("zod").ZodNumber;
2670
+ category: import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>;
2667
2671
  }, "strip", import("zod").ZodTypeAny, {
2668
2672
  id: string;
2669
2673
  value: number;
2674
+ category: "watched" | "attended" | "highlights";
2670
2675
  }, {
2671
2676
  id: string;
2672
2677
  value: number;
2678
+ category: "watched" | "attended" | "highlights";
2673
2679
  }>>>;
2674
2680
  gameId: import("zod").ZodString;
2675
2681
  }, "strip", import("zod").ZodTypeAny, {
@@ -2698,6 +2704,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
2698
2704
  authorGameRating?: {
2699
2705
  id: string;
2700
2706
  value: number;
2707
+ category: "watched" | "attended" | "highlights";
2701
2708
  } | null | undefined;
2702
2709
  }, {
2703
2710
  id: string;
@@ -2725,6 +2732,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
2725
2732
  authorGameRating?: {
2726
2733
  id: string;
2727
2734
  value: number;
2735
+ category: "watched" | "attended" | "highlights";
2728
2736
  } | null | undefined;
2729
2737
  }>;
2730
2738
  export declare const threadCommentLikeSchema: import("zod").ZodObject<{
@@ -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)(),
@@ -122,6 +123,7 @@ exports.threadCommentSchema = (0, zod_1.object)({
122
123
  authorGameRating: (0, zod_1.object)({
123
124
  id: (0, zod_1.string)(),
124
125
  value: (0, zod_1.number)(),
126
+ category: exports.ratingCategorySchema,
125
127
  })
126
128
  .nullable()
127
129
  .optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.215",
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",