rategame-shared 1.1.230 → 1.1.232

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.
@@ -260,6 +260,7 @@ export declare const internalNotification: z.ZodObject<{
260
260
  updatedAt: z.ZodOptional<z.ZodNumber>;
261
261
  edited: z.ZodOptional<z.ZodBoolean>;
262
262
  category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"watched">, z.ZodLiteral<"attended">, z.ZodLiteral<"highlights">, z.ZodLiteral<"listened">, z.ZodLiteral<"partiallyWatched">]>>;
263
+ userLocation: z.ZodOptional<z.ZodString>;
263
264
  }, "strip", z.ZodTypeAny, {
264
265
  id: string;
265
266
  user: {
@@ -326,6 +327,7 @@ export declare const internalNotification: z.ZodObject<{
326
327
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
327
328
  edited?: boolean | undefined;
328
329
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
330
+ userLocation?: string | undefined;
329
331
  }, {
330
332
  id: string;
331
333
  user: {
@@ -392,6 +394,7 @@ export declare const internalNotification: z.ZodObject<{
392
394
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
393
395
  edited?: boolean | undefined;
394
396
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
397
+ userLocation?: string | undefined;
395
398
  }>>;
396
399
  }, "strip", z.ZodTypeAny, {
397
400
  id: string;
@@ -475,6 +478,7 @@ export declare const internalNotification: z.ZodObject<{
475
478
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
476
479
  edited?: boolean | undefined;
477
480
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
481
+ userLocation?: string | undefined;
478
482
  } | undefined;
479
483
  linkText?: string | undefined;
480
484
  }, {
@@ -559,6 +563,7 @@ export declare const internalNotification: z.ZodObject<{
559
563
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
560
564
  edited?: boolean | undefined;
561
565
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
566
+ userLocation?: string | undefined;
562
567
  } | undefined;
563
568
  linkText?: string | undefined;
564
569
  }>;
@@ -231,6 +231,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
231
231
  updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
232
232
  edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
233
233
  category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>>;
234
+ userLocation: import("zod").ZodOptional<import("zod").ZodString>;
234
235
  }, "strip", import("zod").ZodTypeAny, {
235
236
  id: string;
236
237
  user: {
@@ -297,6 +298,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
297
298
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
298
299
  edited?: boolean | undefined;
299
300
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
301
+ userLocation?: string | undefined;
300
302
  }, {
301
303
  id: string;
302
304
  user: {
@@ -363,6 +365,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
363
365
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
364
366
  edited?: boolean | undefined;
365
367
  category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
368
+ userLocation?: string | undefined;
366
369
  }>;
367
370
  export declare const searchRatingSchema: import("zod").ZodObject<{
368
371
  q: import("zod").ZodOptional<import("zod").ZodString>;
@@ -383,9 +386,11 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
383
386
  division: import("zod").ZodOptional<import("zod").ZodString>;
384
387
  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
388
  category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>>;
389
+ location: import("zod").ZodOptional<import("zod").ZodString>;
386
390
  }, "strip", import("zod").ZodTypeAny, {
387
391
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
388
392
  offset?: string | undefined;
393
+ location?: string | undefined;
389
394
  round?: string | undefined;
390
395
  q?: string | undefined;
391
396
  username?: string | undefined;
@@ -405,6 +410,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
405
410
  }, {
406
411
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
407
412
  offset?: string | undefined;
413
+ location?: string | undefined;
408
414
  round?: string | undefined;
409
415
  q?: string | undefined;
410
416
  username?: string | undefined;
@@ -720,6 +726,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
720
726
  updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
721
727
  edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
722
728
  category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>>;
729
+ userLocation: import("zod").ZodOptional<import("zod").ZodString>;
723
730
  }, "id" | "user" | "createdAt">, {
724
731
  game: import("zod").ZodObject<Omit<{
725
732
  id: import("zod").ZodString;
@@ -856,6 +863,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
856
863
  }>;
857
864
  id: import("zod").ZodOptional<import("zod").ZodString>;
858
865
  category: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>, import("zod").ZodLiteral<"">]>>>;
866
+ location: import("zod").ZodOptional<import("zod").ZodString>;
859
867
  }>, "strip", import("zod").ZodTypeAny, {
860
868
  rating: number;
861
869
  game: {
@@ -870,6 +878,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
870
878
  } | undefined;
871
879
  seasonType?: number | undefined;
872
880
  };
881
+ location?: string | undefined;
873
882
  id?: string | undefined;
874
883
  weightedRating?: number | undefined;
875
884
  updatedAt?: number | undefined;
@@ -881,6 +890,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
881
890
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
882
891
  edited?: boolean | undefined;
883
892
  category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
893
+ userLocation?: string | undefined;
884
894
  }, {
885
895
  rating: number;
886
896
  game: {
@@ -895,6 +905,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
895
905
  } | undefined;
896
906
  seasonType?: number | undefined;
897
907
  };
908
+ location?: string | undefined;
898
909
  id?: string | undefined;
899
910
  weightedRating?: number | undefined;
900
911
  updatedAt?: number | undefined;
@@ -906,6 +917,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
906
917
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
907
918
  edited?: boolean | undefined;
908
919
  category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
920
+ userLocation?: string | undefined;
909
921
  }>;
910
922
  export declare const threadCommentSchema: import("zod").ZodObject<{
911
923
  id: import("zod").ZodString;
@@ -51,6 +51,7 @@ exports.ratingSchema = (0, zod_1.object)({
51
51
  updatedAt: (0, zod_1.number)().optional(),
52
52
  edited: (0, zod_1.boolean)().optional(),
53
53
  category: exports.ratingCategorySchema.optional(),
54
+ userLocation: (0, zod_1.string)().optional(),
54
55
  });
55
56
  exports.searchRatingSchema = (0, zod_1.object)({
56
57
  q: (0, zod_1.string)().optional(),
@@ -77,6 +78,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
77
78
  (0, zod_1.literal)("awayTeam"),
78
79
  ]).optional(),
79
80
  category: exports.ratingCategorySchema.optional(),
81
+ location: (0, zod_1.string)().optional(),
80
82
  });
81
83
  exports.ratingLikeSchema = (0, zod_1.object)({
82
84
  ratingId: (0, zod_1.string)(),
@@ -114,6 +116,7 @@ exports.createRatingSchema = exports.ratingSchema
114
116
  category: (0, zod_1.union)([exports.ratingCategorySchema, (0, zod_1.literal)("")])
115
117
  .nullable()
116
118
  .optional(),
119
+ location: (0, zod_1.string)().optional(),
117
120
  });
118
121
  exports.threadCommentSchema = (0, zod_1.object)({
119
122
  id: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.230",
3
+ "version": "1.1.232",
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",