rategame-shared 1.1.15 → 1.1.16

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.
@@ -488,7 +488,7 @@ export declare const commonGameSchema: z.ZodObject<{
488
488
  };
489
489
  } | undefined;
490
490
  }>;
491
- export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
491
+ export declare const basketballGameSchema: z.ZodObject<{
492
492
  id: z.ZodOptional<z.ZodString>;
493
493
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
494
494
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -594,7 +594,6 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
594
594
  options: Record<number, number>;
595
595
  };
596
596
  }>>;
597
- }, {
598
597
  round: z.ZodNumber;
599
598
  timeRemainingMinutes: z.ZodNumber;
600
599
  timeRemainingSeconds: z.ZodNumber;
@@ -613,7 +612,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
613
612
  }>, "many">;
614
613
  periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
615
614
  periodDuration: z.ZodNumber;
616
- }>, "strip", z.ZodTypeAny, {
615
+ }, "strip", z.ZodTypeAny, {
617
616
  round: number;
618
617
  status: "live" | "scheduled" | "final";
619
618
  startedAt: number;
@@ -731,7 +730,7 @@ export declare const inningSchema: z.ZodObject<{
731
730
  homeScore: number;
732
731
  inningNumber: number;
733
732
  }>;
734
- export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
733
+ export declare const mlbGameSchema: z.ZodObject<{
735
734
  id: z.ZodOptional<z.ZodString>;
736
735
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
737
736
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -837,7 +836,6 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
837
836
  options: Record<number, number>;
838
837
  };
839
838
  }>>;
840
- }, {
841
839
  totalInningsRemaining: z.ZodNumber;
842
840
  innings: z.ZodArray<z.ZodObject<{
843
841
  inningNumber: z.ZodNumber;
@@ -953,7 +951,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
953
951
  homeTeamHits: z.ZodNumber;
954
952
  awayTeamErrors: z.ZodNumber;
955
953
  homeTeamErrors: z.ZodNumber;
956
- }>, "strip", z.ZodTypeAny, {
954
+ }, "strip", z.ZodTypeAny, {
957
955
  status: "live" | "scheduled" | "final";
958
956
  startedAt: number;
959
957
  finishedAt: number;
@@ -1132,7 +1130,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1132
1130
  } | undefined;
1133
1131
  outs?: number | undefined;
1134
1132
  }>;
1135
- export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1133
+ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
1136
1134
  id: z.ZodOptional<z.ZodString>;
1137
1135
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1138
1136
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -1238,7 +1236,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1238
1236
  options: Record<number, number>;
1239
1237
  };
1240
1238
  }>>;
1241
- }, {
1242
1239
  round: z.ZodNumber;
1243
1240
  timeRemainingMinutes: z.ZodNumber;
1244
1241
  timeRemainingSeconds: z.ZodNumber;
@@ -1257,7 +1254,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1257
1254
  }>, "many">;
1258
1255
  periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
1259
1256
  periodDuration: z.ZodNumber;
1260
- }>, "strip", z.ZodTypeAny, {
1257
+ }, "strip", z.ZodTypeAny, {
1261
1258
  round: number;
1262
1259
  status: "live" | "scheduled" | "final";
1263
1260
  startedAt: number;
@@ -1361,7 +1358,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1361
1358
  options: Record<number, number>;
1362
1359
  };
1363
1360
  } | undefined;
1364
- }>, z.ZodObject<z.objectUtil.extendShape<{
1361
+ }>, z.ZodObject<{
1365
1362
  id: z.ZodOptional<z.ZodString>;
1366
1363
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1367
1364
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -1467,7 +1464,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1467
1464
  options: Record<number, number>;
1468
1465
  };
1469
1466
  }>>;
1470
- }, {
1471
1467
  totalInningsRemaining: z.ZodNumber;
1472
1468
  innings: z.ZodArray<z.ZodObject<{
1473
1469
  inningNumber: z.ZodNumber;
@@ -1583,7 +1579,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1583
1579
  homeTeamHits: z.ZodNumber;
1584
1580
  awayTeamErrors: z.ZodNumber;
1585
1581
  homeTeamErrors: z.ZodNumber;
1586
- }>, "strip", z.ZodTypeAny, {
1582
+ }, "strip", z.ZodTypeAny, {
1587
1583
  status: "live" | "scheduled" | "final";
1588
1584
  startedAt: number;
1589
1585
  finishedAt: number;
@@ -1773,20 +1769,20 @@ export declare const searchGameSchema: z.ZodObject<{
1773
1769
  offset: z.ZodOptional<z.ZodString>;
1774
1770
  }, "strip", z.ZodTypeAny, {
1775
1771
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
1776
- offset?: string | undefined;
1777
- round?: string | undefined;
1778
1772
  q?: string | undefined;
1779
- createdAt?: "12h" | "daily" | "weekly" | undefined;
1780
1773
  teamId?: string | undefined;
1774
+ round?: string | undefined;
1775
+ createdAt?: "12h" | "daily" | "weekly" | undefined;
1781
1776
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
1782
1777
  limit?: string | undefined;
1778
+ offset?: string | undefined;
1783
1779
  }, {
1784
1780
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
1785
- offset?: string | undefined;
1786
- round?: string | undefined;
1787
1781
  q?: string | undefined;
1788
- createdAt?: "12h" | "daily" | "weekly" | undefined;
1789
1782
  teamId?: string | undefined;
1783
+ round?: string | undefined;
1784
+ createdAt?: "12h" | "daily" | "weekly" | undefined;
1790
1785
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
1791
1786
  limit?: string | undefined;
1787
+ offset?: string | undefined;
1792
1788
  }>;
@@ -268,34 +268,34 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
268
268
  division: import("zod").ZodOptional<import("zod").ZodString>;
269
269
  }, "strip", import("zod").ZodTypeAny, {
270
270
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
271
- offset?: string | undefined;
272
- round?: string | undefined;
273
271
  q?: string | undefined;
274
- username?: string | undefined;
275
- createdAt?: "12h" | "daily" | "weekly" | undefined;
276
272
  teamId?: string | undefined;
273
+ round?: string | undefined;
274
+ createdAt?: "12h" | "daily" | "weekly" | undefined;
277
275
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
278
276
  limit?: string | undefined;
279
- comment?: string | undefined;
277
+ offset?: string | undefined;
280
278
  gameId?: string | undefined;
281
279
  showEmptyRatings?: string | undefined;
280
+ comment?: string | undefined;
281
+ username?: string | undefined;
282
282
  following?: string | undefined;
283
283
  userId?: string | undefined;
284
284
  mlbTeamLeague?: string | undefined;
285
285
  division?: string | undefined;
286
286
  }, {
287
287
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
288
- offset?: string | undefined;
289
- round?: string | undefined;
290
288
  q?: string | undefined;
291
- username?: string | undefined;
292
- createdAt?: "12h" | "daily" | "weekly" | undefined;
293
289
  teamId?: string | undefined;
290
+ round?: string | undefined;
291
+ createdAt?: "12h" | "daily" | "weekly" | undefined;
294
292
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
295
293
  limit?: string | undefined;
296
- comment?: string | undefined;
294
+ offset?: string | undefined;
297
295
  gameId?: string | undefined;
298
296
  showEmptyRatings?: string | undefined;
297
+ comment?: string | undefined;
298
+ username?: string | undefined;
299
299
  following?: string | undefined;
300
300
  userId?: string | undefined;
301
301
  mlbTeamLeague?: string | undefined;
@@ -367,169 +367,10 @@ export declare const createAgreeRatingSchema: import("zod").ZodObject<{
367
367
  };
368
368
  agree: boolean;
369
369
  }>;
370
- export declare const createRatingSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
371
- id: import("zod").ZodString;
372
- createdAt: import("zod").ZodNumber;
370
+ export declare const createRatingSchema: import("zod").ZodObject<{
373
371
  rating: import("zod").ZodNumber;
374
372
  comment: import("zod").ZodOptional<import("zod").ZodString>;
375
- user: import("zod").ZodObject<{
376
- id: import("zod").ZodString;
377
- username: import("zod").ZodString;
378
- avatarUrl: import("zod").ZodString;
379
- email: import("zod").ZodString;
380
- badge: import("zod").ZodOptional<import("zod").ZodString>;
381
- }, "strip", import("zod").ZodTypeAny, {
382
- id: string;
383
- email: string;
384
- username: string;
385
- avatarUrl: string;
386
- badge?: string | undefined;
387
- }, {
388
- id: string;
389
- email: string;
390
- username: string;
391
- avatarUrl: string;
392
- badge?: string | undefined;
393
- }>;
394
- game: import("zod").ZodObject<{
395
- id: import("zod").ZodString;
396
- round: import("zod").ZodOptional<import("zod").ZodNumber>;
397
- league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mls">]>;
398
- homeTeam: import("zod").ZodObject<{
399
- id: import("zod").ZodOptional<import("zod").ZodString>;
400
- apiTeamId: import("zod").ZodNumber;
401
- name: import("zod").ZodString;
402
- score: import("zod").ZodNumber;
403
- isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
404
- image: import("zod").ZodString;
405
- seed: import("zod").ZodOptional<import("zod").ZodNumber>;
406
- teamCode: import("zod").ZodOptional<import("zod").ZodString>;
407
- }, "strip", import("zod").ZodTypeAny, {
408
- name: string;
409
- image: string;
410
- apiTeamId: number;
411
- score: number;
412
- id?: string | undefined;
413
- isWinner?: boolean | undefined;
414
- seed?: number | undefined;
415
- teamCode?: string | undefined;
416
- }, {
417
- name: string;
418
- image: string;
419
- apiTeamId: number;
420
- score: number;
421
- id?: string | undefined;
422
- isWinner?: boolean | undefined;
423
- seed?: number | undefined;
424
- teamCode?: string | undefined;
425
- }>;
426
- awayTeam: import("zod").ZodObject<{
427
- id: import("zod").ZodOptional<import("zod").ZodString>;
428
- apiTeamId: import("zod").ZodNumber;
429
- name: import("zod").ZodString;
430
- score: import("zod").ZodNumber;
431
- isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
432
- image: import("zod").ZodString;
433
- seed: import("zod").ZodOptional<import("zod").ZodNumber>;
434
- teamCode: import("zod").ZodOptional<import("zod").ZodString>;
435
- }, "strip", import("zod").ZodTypeAny, {
436
- name: string;
437
- image: string;
438
- apiTeamId: number;
439
- score: number;
440
- id?: string | undefined;
441
- isWinner?: boolean | undefined;
442
- seed?: number | undefined;
443
- teamCode?: string | undefined;
444
- }, {
445
- name: string;
446
- image: string;
447
- apiTeamId: number;
448
- score: number;
449
- id?: string | undefined;
450
- isWinner?: boolean | undefined;
451
- seed?: number | undefined;
452
- teamCode?: string | undefined;
453
- }>;
454
- seriesInfo: import("zod").ZodOptional<import("zod").ZodObject<{
455
- homeTeamWins: import("zod").ZodNumber;
456
- awayTeamWins: import("zod").ZodNumber;
457
- gameNumber: import("zod").ZodNumber;
458
- maxLength: import("zod").ZodNumber;
459
- }, "strip", import("zod").ZodTypeAny, {
460
- maxLength: number;
461
- homeTeamWins: number;
462
- awayTeamWins: number;
463
- gameNumber: number;
464
- }, {
465
- maxLength: number;
466
- homeTeamWins: number;
467
- awayTeamWins: number;
468
- gameNumber: number;
469
- }>>;
470
- }, "strip", import("zod").ZodTypeAny, {
471
- id: string;
472
- league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
473
- homeTeam: {
474
- name: string;
475
- image: string;
476
- apiTeamId: number;
477
- score: number;
478
- id?: string | undefined;
479
- isWinner?: boolean | undefined;
480
- seed?: number | undefined;
481
- teamCode?: string | undefined;
482
- };
483
- awayTeam: {
484
- name: string;
485
- image: string;
486
- apiTeamId: number;
487
- score: number;
488
- id?: string | undefined;
489
- isWinner?: boolean | undefined;
490
- seed?: number | undefined;
491
- teamCode?: string | undefined;
492
- };
493
- round?: number | undefined;
494
- seriesInfo?: {
495
- maxLength: number;
496
- homeTeamWins: number;
497
- awayTeamWins: number;
498
- gameNumber: number;
499
- } | undefined;
500
- }, {
501
- id: string;
502
- league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
503
- homeTeam: {
504
- name: string;
505
- image: string;
506
- apiTeamId: number;
507
- score: number;
508
- id?: string | undefined;
509
- isWinner?: boolean | undefined;
510
- seed?: number | undefined;
511
- teamCode?: string | undefined;
512
- };
513
- awayTeam: {
514
- name: string;
515
- image: string;
516
- apiTeamId: number;
517
- score: number;
518
- id?: string | undefined;
519
- isWinner?: boolean | undefined;
520
- seed?: number | undefined;
521
- teamCode?: string | undefined;
522
- };
523
- round?: number | undefined;
524
- seriesInfo?: {
525
- maxLength: number;
526
- homeTeamWins: number;
527
- awayTeamWins: number;
528
- gameNumber: number;
529
- } | undefined;
530
- }>;
531
373
  userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
532
- }, "id" | "user" | "createdAt">, {
533
374
  game: import("zod").ZodObject<Omit<{
534
375
  id: import("zod").ZodString;
535
376
  round: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -626,7 +467,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
626
467
  } | undefined;
627
468
  }>;
628
469
  id: import("zod").ZodOptional<import("zod").ZodString>;
629
- }>, "strip", import("zod").ZodTypeAny, {
470
+ }, "strip", import("zod").ZodTypeAny, {
630
471
  rating: number;
631
472
  game: {
632
473
  id: string;
@@ -638,9 +479,9 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
638
479
  gameNumber: number;
639
480
  } | undefined;
640
481
  };
641
- id?: string | undefined;
642
482
  comment?: string | undefined;
643
483
  userLikes?: number | undefined;
484
+ id?: string | undefined;
644
485
  }, {
645
486
  rating: number;
646
487
  game: {
@@ -653,7 +494,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
653
494
  gameNumber: number;
654
495
  } | undefined;
655
496
  };
656
- id?: string | undefined;
657
497
  comment?: string | undefined;
658
498
  userLikes?: number | undefined;
499
+ id?: string | undefined;
659
500
  }>;
@@ -45,6 +45,19 @@ export declare const userSchema: import("zod").ZodObject<{
45
45
  commentsLeft: number;
46
46
  avgRating: number;
47
47
  }>;
48
+ mlb: import("zod").ZodObject<{
49
+ totalRatedGames: import("zod").ZodNumber;
50
+ commentsLeft: import("zod").ZodNumber;
51
+ avgRating: import("zod").ZodNumber;
52
+ }, "strip", import("zod").ZodTypeAny, {
53
+ totalRatedGames: number;
54
+ commentsLeft: number;
55
+ avgRating: number;
56
+ }, {
57
+ totalRatedGames: number;
58
+ commentsLeft: number;
59
+ avgRating: number;
60
+ }>;
48
61
  }, "strip", import("zod").ZodTypeAny, {
49
62
  nba: {
50
63
  totalRatedGames: number;
@@ -56,6 +69,11 @@ export declare const userSchema: import("zod").ZodObject<{
56
69
  commentsLeft: number;
57
70
  avgRating: number;
58
71
  };
72
+ mlb: {
73
+ totalRatedGames: number;
74
+ commentsLeft: number;
75
+ avgRating: number;
76
+ };
59
77
  }, {
60
78
  nba: {
61
79
  totalRatedGames: number;
@@ -67,6 +85,11 @@ export declare const userSchema: import("zod").ZodObject<{
67
85
  commentsLeft: number;
68
86
  avgRating: number;
69
87
  };
88
+ mlb: {
89
+ totalRatedGames: number;
90
+ commentsLeft: number;
91
+ avgRating: number;
92
+ };
70
93
  }>>;
71
94
  totalRatedGames: import("zod").ZodOptional<import("zod").ZodNumber>;
72
95
  commentsLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -134,10 +157,6 @@ export declare const userSchema: import("zod").ZodObject<{
134
157
  }>;
135
158
  askedForPushNotifications: boolean;
136
159
  acceptedPushNotifications: boolean;
137
- platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
138
- totalRatedGames?: number | undefined;
139
- commentsLeft?: number | undefined;
140
- avgRating?: number | undefined;
141
160
  leagues?: {
142
161
  nba: {
143
162
  totalRatedGames: number;
@@ -149,7 +168,15 @@ export declare const userSchema: import("zod").ZodObject<{
149
168
  commentsLeft: number;
150
169
  avgRating: number;
151
170
  };
171
+ mlb: {
172
+ totalRatedGames: number;
173
+ commentsLeft: number;
174
+ avgRating: number;
175
+ };
152
176
  } | undefined;
177
+ totalRatedGames?: number | undefined;
178
+ commentsLeft?: number | undefined;
179
+ avgRating?: number | undefined;
153
180
  isRegistrationComplete?: boolean | undefined;
154
181
  badge?: string | undefined;
155
182
  registrationStep?: number | undefined;
@@ -163,6 +190,7 @@ export declare const userSchema: import("zod").ZodObject<{
163
190
  youtube?: string | undefined;
164
191
  tiktok?: string | undefined;
165
192
  } | undefined;
193
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
166
194
  selectedTeamsPerLeague?: Record<string, string[]> | undefined;
167
195
  notificationSettings?: {
168
196
  allGames?: boolean | undefined;
@@ -182,10 +210,6 @@ export declare const userSchema: import("zod").ZodObject<{
182
210
  }>;
183
211
  askedForPushNotifications: boolean;
184
212
  acceptedPushNotifications: boolean;
185
- platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
186
- totalRatedGames?: number | undefined;
187
- commentsLeft?: number | undefined;
188
- avgRating?: number | undefined;
189
213
  leagues?: {
190
214
  nba: {
191
215
  totalRatedGames: number;
@@ -197,7 +221,15 @@ export declare const userSchema: import("zod").ZodObject<{
197
221
  commentsLeft: number;
198
222
  avgRating: number;
199
223
  };
224
+ mlb: {
225
+ totalRatedGames: number;
226
+ commentsLeft: number;
227
+ avgRating: number;
228
+ };
200
229
  } | undefined;
230
+ totalRatedGames?: number | undefined;
231
+ commentsLeft?: number | undefined;
232
+ avgRating?: number | undefined;
201
233
  isRegistrationComplete?: boolean | undefined;
202
234
  badge?: string | undefined;
203
235
  registrationStep?: number | undefined;
@@ -211,6 +243,7 @@ export declare const userSchema: import("zod").ZodObject<{
211
243
  youtube?: string | undefined;
212
244
  tiktok?: string | undefined;
213
245
  } | undefined;
246
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
214
247
  selectedTeamsPerLeague?: Record<string, string[]> | undefined;
215
248
  notificationSettings?: {
216
249
  allGames?: boolean | undefined;
@@ -252,6 +285,19 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
252
285
  commentsLeft: number;
253
286
  avgRating: number;
254
287
  }>;
288
+ mlb: import("zod").ZodObject<{
289
+ totalRatedGames: import("zod").ZodNumber;
290
+ commentsLeft: import("zod").ZodNumber;
291
+ avgRating: import("zod").ZodNumber;
292
+ }, "strip", import("zod").ZodTypeAny, {
293
+ totalRatedGames: number;
294
+ commentsLeft: number;
295
+ avgRating: number;
296
+ }, {
297
+ totalRatedGames: number;
298
+ commentsLeft: number;
299
+ avgRating: number;
300
+ }>;
255
301
  }, "strip", import("zod").ZodTypeAny, {
256
302
  nba: {
257
303
  totalRatedGames: number;
@@ -263,6 +309,11 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
263
309
  commentsLeft: number;
264
310
  avgRating: number;
265
311
  };
312
+ mlb: {
313
+ totalRatedGames: number;
314
+ commentsLeft: number;
315
+ avgRating: number;
316
+ };
266
317
  }, {
267
318
  nba: {
268
319
  totalRatedGames: number;
@@ -274,6 +325,11 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
274
325
  commentsLeft: number;
275
326
  avgRating: number;
276
327
  };
328
+ mlb: {
329
+ totalRatedGames: number;
330
+ commentsLeft: number;
331
+ avgRating: number;
332
+ };
277
333
  }>>;
278
334
  totalRatedGames: import("zod").ZodOptional<import("zod").ZodNumber>;
279
335
  commentsLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -345,6 +401,11 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
345
401
  commentsLeft: number;
346
402
  avgRating: number;
347
403
  };
404
+ mlb: {
405
+ totalRatedGames: number;
406
+ commentsLeft: number;
407
+ avgRating: number;
408
+ };
348
409
  } | undefined;
349
410
  isRegistrationComplete?: boolean | undefined;
350
411
  badge?: string | undefined;
@@ -382,6 +443,11 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
382
443
  commentsLeft: number;
383
444
  avgRating: number;
384
445
  };
446
+ mlb: {
447
+ totalRatedGames: number;
448
+ commentsLeft: number;
449
+ avgRating: number;
450
+ };
385
451
  } | undefined;
386
452
  isRegistrationComplete?: boolean | undefined;
387
453
  badge?: string | undefined;
@@ -17,6 +17,7 @@ exports.userSchema = (0, zod_1.object)({
17
17
  leagues: (0, zod_1.object)({
18
18
  nba: exports.leagueStatsSchema,
19
19
  ncaa: exports.leagueStatsSchema,
20
+ mlb: exports.leagueStatsSchema,
20
21
  }).optional(),
21
22
  totalRatedGames: (0, zod_1.number)().optional(),
22
23
  commentsLeft: (0, zod_1.number)().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
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",