rategame-shared 1.1.374 → 1.1.375

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.
@@ -763,6 +763,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
763
763
  ratingMax: import("zod").ZodOptional<import("zod").ZodString>;
764
764
  customDateFrom: import("zod").ZodOptional<import("zod").ZodString>;
765
765
  customDateTo: import("zod").ZodOptional<import("zod").ZodString>;
766
+ seasonGroup: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"combined">, import("zod").ZodLiteral<"regularSeason">, import("zod").ZodLiteral<"playoffs">]>>;
766
767
  }, "strip", import("zod").ZodTypeAny, {
767
768
  offset?: string | undefined;
768
769
  round?: string | undefined;
@@ -777,6 +778,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
777
778
  comment?: string | undefined;
778
779
  teamId?: string | undefined;
779
780
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | "game.startedAt:desc" | undefined;
781
+ seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
780
782
  userId?: string | undefined;
781
783
  onlyCommunityGames?: string | undefined;
782
784
  ratingMin?: string | undefined;
@@ -802,6 +804,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
802
804
  comment?: string | undefined;
803
805
  teamId?: string | undefined;
804
806
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | "game.startedAt:desc" | undefined;
807
+ seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
805
808
  userId?: string | undefined;
806
809
  onlyCommunityGames?: string | undefined;
807
810
  ratingMin?: string | undefined;
@@ -114,6 +114,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
114
114
  ratingMax: (0, zod_1.string)().optional(),
115
115
  customDateFrom: (0, zod_1.string)().optional(),
116
116
  customDateTo: (0, zod_1.string)().optional(),
117
+ seasonGroup: sharedTypes_1.seasonGroupingSchema.optional(),
117
118
  });
118
119
  exports.ratingLikeSchema = (0, zod_1.object)({
119
120
  ratingId: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.374",
3
+ "version": "1.1.375",
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",