rategame-shared 1.1.59 → 1.1.60

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.
@@ -1,8 +1,9 @@
1
1
  import { z } from "zod";
2
- import { teamSchema, mlbTeamSchema, divisionSchema, leagueSchema, eplTeamSchema, nflTeamSchema } from "../schemas/team";
2
+ import { teamSchema, mlbTeamSchema, divisionSchema, leagueSchema, eplTeamSchema, nflTeamSchema, cfbTeamSchema } from "../schemas/team";
3
3
  export type Team = z.infer<typeof teamSchema>;
4
4
  export type MLBTeam = z.infer<typeof mlbTeamSchema>;
5
5
  export type MLBDivision = z.infer<typeof divisionSchema>;
6
6
  export type MLBLeague = z.infer<typeof leagueSchema>;
7
7
  export type EPLTeam = z.infer<typeof eplTeamSchema>;
8
8
  export type NFLTeam = z.infer<typeof nflTeamSchema>;
9
+ export type CFBTeam = z.infer<typeof cfbTeamSchema>;
@@ -855,7 +855,7 @@ export declare const commonGameSchema: z.ZodObject<{
855
855
  };
856
856
  } | undefined;
857
857
  }>;
858
- export declare const basketballGameSchema: z.ZodObject<{
858
+ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
859
859
  id: z.ZodOptional<z.ZodString>;
860
860
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
861
861
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -967,6 +967,7 @@ export declare const basketballGameSchema: z.ZodObject<{
967
967
  options: Record<number, number>;
968
968
  };
969
969
  }>>;
970
+ }, {
970
971
  round: z.ZodNumber;
971
972
  timeRemainingMinutes: z.ZodNumber;
972
973
  timeRemainingSeconds: z.ZodNumber;
@@ -985,7 +986,7 @@ export declare const basketballGameSchema: z.ZodObject<{
985
986
  }>, "many">;
986
987
  periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
987
988
  periodDuration: z.ZodNumber;
988
- }, "strip", z.ZodTypeAny, {
989
+ }>, "strip", z.ZodTypeAny, {
989
990
  round: number;
990
991
  status: "live" | "scheduled" | "final";
991
992
  startedAt: number;
@@ -1107,7 +1108,7 @@ export declare const inningSchema: z.ZodObject<{
1107
1108
  homeScore: number;
1108
1109
  inningNumber: number;
1109
1110
  }>;
1110
- export declare const mlbGameSchema: z.ZodObject<{
1111
+ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1111
1112
  id: z.ZodOptional<z.ZodString>;
1112
1113
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1113
1114
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -1219,6 +1220,7 @@ export declare const mlbGameSchema: z.ZodObject<{
1219
1220
  options: Record<number, number>;
1220
1221
  };
1221
1222
  }>>;
1223
+ }, {
1222
1224
  totalInningsRemaining: z.ZodNumber;
1223
1225
  innings: z.ZodArray<z.ZodObject<{
1224
1226
  inningNumber: z.ZodNumber;
@@ -1247,7 +1249,7 @@ export declare const mlbGameSchema: z.ZodObject<{
1247
1249
  runnerOnFirst: z.ZodOptional<z.ZodBoolean>;
1248
1250
  runnerOnSecond: z.ZodOptional<z.ZodBoolean>;
1249
1251
  runnerOnThird: z.ZodOptional<z.ZodBoolean>;
1250
- }, "strip", z.ZodTypeAny, {
1252
+ }>, "strip", z.ZodTypeAny, {
1251
1253
  status: "live" | "scheduled" | "final";
1252
1254
  startedAt: number;
1253
1255
  finishedAt: number;
@@ -1376,7 +1378,7 @@ export declare const mlbGameSchema: z.ZodObject<{
1376
1378
  runnerOnSecond?: boolean | undefined;
1377
1379
  runnerOnThird?: boolean | undefined;
1378
1380
  }>;
1379
- export declare const eplGameSchema: z.ZodObject<{
1381
+ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1380
1382
  id: z.ZodOptional<z.ZodString>;
1381
1383
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1382
1384
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -1384,6 +1386,69 @@ export declare const eplGameSchema: z.ZodObject<{
1384
1386
  finishedAt: z.ZodNumber;
1385
1387
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
1386
1388
  apiGameId: z.ZodNumber;
1389
+ league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
1390
+ homeTeam: z.ZodObject<{
1391
+ id: z.ZodOptional<z.ZodString>;
1392
+ apiTeamId: z.ZodNumber;
1393
+ name: z.ZodString;
1394
+ score: z.ZodNumber;
1395
+ isWinner: z.ZodOptional<z.ZodBoolean>;
1396
+ image: z.ZodString;
1397
+ seed: z.ZodOptional<z.ZodNumber>;
1398
+ teamCode: z.ZodOptional<z.ZodString>;
1399
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ name: string;
1402
+ image: string;
1403
+ apiTeamId: number;
1404
+ score: number;
1405
+ id?: string | undefined;
1406
+ isWinner?: boolean | undefined;
1407
+ seed?: number | undefined;
1408
+ teamCode?: string | undefined;
1409
+ scoreExtraTime?: number | undefined;
1410
+ }, {
1411
+ name: string;
1412
+ image: string;
1413
+ apiTeamId: number;
1414
+ score: number;
1415
+ id?: string | undefined;
1416
+ isWinner?: boolean | undefined;
1417
+ seed?: number | undefined;
1418
+ teamCode?: string | undefined;
1419
+ scoreExtraTime?: number | undefined;
1420
+ }>;
1421
+ awayTeam: z.ZodObject<{
1422
+ id: z.ZodOptional<z.ZodString>;
1423
+ apiTeamId: z.ZodNumber;
1424
+ name: z.ZodString;
1425
+ score: z.ZodNumber;
1426
+ isWinner: z.ZodOptional<z.ZodBoolean>;
1427
+ image: z.ZodString;
1428
+ seed: z.ZodOptional<z.ZodNumber>;
1429
+ teamCode: z.ZodOptional<z.ZodString>;
1430
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ name: string;
1433
+ image: string;
1434
+ apiTeamId: number;
1435
+ score: number;
1436
+ id?: string | undefined;
1437
+ isWinner?: boolean | undefined;
1438
+ seed?: number | undefined;
1439
+ teamCode?: string | undefined;
1440
+ scoreExtraTime?: number | undefined;
1441
+ }, {
1442
+ name: string;
1443
+ image: string;
1444
+ apiTeamId: number;
1445
+ score: number;
1446
+ id?: string | undefined;
1447
+ isWinner?: boolean | undefined;
1448
+ seed?: number | undefined;
1449
+ teamCode?: string | undefined;
1450
+ scoreExtraTime?: number | undefined;
1451
+ }>;
1387
1452
  seriesInfo: z.ZodOptional<z.ZodObject<{
1388
1453
  homeTeamWins: z.ZodNumber;
1389
1454
  awayTeamWins: z.ZodNumber;
@@ -1425,6 +1490,7 @@ export declare const eplGameSchema: z.ZodObject<{
1425
1490
  options: Record<number, number>;
1426
1491
  };
1427
1492
  }>>;
1493
+ }, {
1428
1494
  league: z.ZodLiteral<"epl">;
1429
1495
  week: z.ZodNumber;
1430
1496
  period: z.ZodString;
@@ -1434,21 +1500,23 @@ export declare const eplGameSchema: z.ZodObject<{
1434
1500
  venueType: z.ZodString;
1435
1501
  attendance: z.ZodNumber;
1436
1502
  aggregateScore: z.ZodString;
1437
- homeTeam: z.ZodObject<{
1503
+ homeTeam: z.ZodObject<z.objectUtil.extendShape<{
1438
1504
  id: z.ZodOptional<z.ZodString>;
1439
- name: z.ZodString;
1440
- image: z.ZodString;
1441
1505
  apiTeamId: z.ZodNumber;
1506
+ name: z.ZodString;
1442
1507
  score: z.ZodNumber;
1443
1508
  isWinner: z.ZodOptional<z.ZodBoolean>;
1509
+ image: z.ZodString;
1444
1510
  seed: z.ZodOptional<z.ZodNumber>;
1445
1511
  teamCode: z.ZodOptional<z.ZodString>;
1512
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
1513
+ }, {
1446
1514
  scorePeriod1: z.ZodNumber;
1447
1515
  scorePeriod2: z.ZodNumber;
1448
1516
  scoreExtraTime: z.ZodNumber;
1449
1517
  scorePenalty: z.ZodNumber;
1450
1518
  venueName: z.ZodOptional<z.ZodString>;
1451
- }, "strip", z.ZodTypeAny, {
1519
+ }>, "strip", z.ZodTypeAny, {
1452
1520
  name: string;
1453
1521
  image: string;
1454
1522
  apiTeamId: number;
@@ -1477,21 +1545,23 @@ export declare const eplGameSchema: z.ZodObject<{
1477
1545
  teamCode?: string | undefined;
1478
1546
  venueName?: string | undefined;
1479
1547
  }>;
1480
- awayTeam: z.ZodObject<{
1548
+ awayTeam: z.ZodObject<z.objectUtil.extendShape<{
1481
1549
  id: z.ZodOptional<z.ZodString>;
1482
- name: z.ZodString;
1483
- image: z.ZodString;
1484
1550
  apiTeamId: z.ZodNumber;
1551
+ name: z.ZodString;
1485
1552
  score: z.ZodNumber;
1486
1553
  isWinner: z.ZodOptional<z.ZodBoolean>;
1554
+ image: z.ZodString;
1487
1555
  seed: z.ZodOptional<z.ZodNumber>;
1488
1556
  teamCode: z.ZodOptional<z.ZodString>;
1557
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
1558
+ }, {
1489
1559
  scorePeriod1: z.ZodNumber;
1490
1560
  scorePeriod2: z.ZodNumber;
1491
1561
  scoreExtraTime: z.ZodNumber;
1492
1562
  scorePenalty: z.ZodNumber;
1493
1563
  venueName: z.ZodOptional<z.ZodString>;
1494
- }, "strip", z.ZodTypeAny, {
1564
+ }>, "strip", z.ZodTypeAny, {
1495
1565
  name: string;
1496
1566
  image: string;
1497
1567
  apiTeamId: number;
@@ -1521,7 +1591,7 @@ export declare const eplGameSchema: z.ZodObject<{
1521
1591
  venueName?: string | undefined;
1522
1592
  }>;
1523
1593
  hadExtraTime: z.ZodBoolean;
1524
- }, "strip", z.ZodTypeAny, {
1594
+ }>, "strip", z.ZodTypeAny, {
1525
1595
  status: "live" | "scheduled" | "final";
1526
1596
  week: number;
1527
1597
  startedAt: number;
@@ -1644,13 +1714,14 @@ export declare const eplGameSchema: z.ZodObject<{
1644
1714
  };
1645
1715
  } | undefined;
1646
1716
  }>;
1647
- export declare const nflGameSchema: z.ZodObject<{
1717
+ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1648
1718
  id: z.ZodOptional<z.ZodString>;
1649
1719
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1650
1720
  isClosed: z.ZodOptional<z.ZodBoolean>;
1651
1721
  startedAt: z.ZodNumber;
1652
1722
  finishedAt: z.ZodNumber;
1653
1723
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
1724
+ apiGameId: z.ZodNumber;
1654
1725
  league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
1655
1726
  homeTeam: z.ZodObject<{
1656
1727
  id: z.ZodOptional<z.ZodString>;
@@ -1755,6 +1826,7 @@ export declare const nflGameSchema: z.ZodObject<{
1755
1826
  options: Record<number, number>;
1756
1827
  };
1757
1828
  }>>;
1829
+ }, {
1758
1830
  apiGameId: z.ZodString;
1759
1831
  seasonType: z.ZodNumber;
1760
1832
  season: z.ZodNumber;
@@ -1812,7 +1884,7 @@ export declare const nflGameSchema: z.ZodObject<{
1812
1884
  GeoLong: number | null;
1813
1885
  Type: string | null;
1814
1886
  }>>;
1815
- }, "strip", z.ZodTypeAny, {
1887
+ }>, "strip", z.ZodTypeAny, {
1816
1888
  status: "live" | "scheduled" | "final";
1817
1889
  quarter: string | null;
1818
1890
  week: number;
@@ -1969,7 +2041,7 @@ export declare const nflGameSchema: z.ZodObject<{
1969
2041
  Type: string | null;
1970
2042
  } | undefined;
1971
2043
  }>;
1972
- export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2044
+ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1973
2045
  id: z.ZodOptional<z.ZodString>;
1974
2046
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
1975
2047
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -2081,6 +2153,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2081
2153
  options: Record<number, number>;
2082
2154
  };
2083
2155
  }>>;
2156
+ }, {
2084
2157
  round: z.ZodNumber;
2085
2158
  timeRemainingMinutes: z.ZodNumber;
2086
2159
  timeRemainingSeconds: z.ZodNumber;
@@ -2099,7 +2172,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2099
2172
  }>, "many">;
2100
2173
  periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
2101
2174
  periodDuration: z.ZodNumber;
2102
- }, "strip", z.ZodTypeAny, {
2175
+ }>, "strip", z.ZodTypeAny, {
2103
2176
  round: number;
2104
2177
  status: "live" | "scheduled" | "final";
2105
2178
  startedAt: number;
@@ -2207,7 +2280,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2207
2280
  options: Record<number, number>;
2208
2281
  };
2209
2282
  } | undefined;
2210
- }>, z.ZodObject<{
2283
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2211
2284
  id: z.ZodOptional<z.ZodString>;
2212
2285
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
2213
2286
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -2319,6 +2392,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2319
2392
  options: Record<number, number>;
2320
2393
  };
2321
2394
  }>>;
2395
+ }, {
2322
2396
  totalInningsRemaining: z.ZodNumber;
2323
2397
  innings: z.ZodArray<z.ZodObject<{
2324
2398
  inningNumber: z.ZodNumber;
@@ -2347,7 +2421,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2347
2421
  runnerOnFirst: z.ZodOptional<z.ZodBoolean>;
2348
2422
  runnerOnSecond: z.ZodOptional<z.ZodBoolean>;
2349
2423
  runnerOnThird: z.ZodOptional<z.ZodBoolean>;
2350
- }, "strip", z.ZodTypeAny, {
2424
+ }>, "strip", z.ZodTypeAny, {
2351
2425
  status: "live" | "scheduled" | "final";
2352
2426
  startedAt: number;
2353
2427
  finishedAt: number;
@@ -2475,7 +2549,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2475
2549
  runnerOnFirst?: boolean | undefined;
2476
2550
  runnerOnSecond?: boolean | undefined;
2477
2551
  runnerOnThird?: boolean | undefined;
2478
- }>, z.ZodObject<{
2552
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2479
2553
  id: z.ZodOptional<z.ZodString>;
2480
2554
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
2481
2555
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -2483,6 +2557,69 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2483
2557
  finishedAt: z.ZodNumber;
2484
2558
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
2485
2559
  apiGameId: z.ZodNumber;
2560
+ league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
2561
+ homeTeam: z.ZodObject<{
2562
+ id: z.ZodOptional<z.ZodString>;
2563
+ apiTeamId: z.ZodNumber;
2564
+ name: z.ZodString;
2565
+ score: z.ZodNumber;
2566
+ isWinner: z.ZodOptional<z.ZodBoolean>;
2567
+ image: z.ZodString;
2568
+ seed: z.ZodOptional<z.ZodNumber>;
2569
+ teamCode: z.ZodOptional<z.ZodString>;
2570
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
2571
+ }, "strip", z.ZodTypeAny, {
2572
+ name: string;
2573
+ image: string;
2574
+ apiTeamId: number;
2575
+ score: number;
2576
+ id?: string | undefined;
2577
+ isWinner?: boolean | undefined;
2578
+ seed?: number | undefined;
2579
+ teamCode?: string | undefined;
2580
+ scoreExtraTime?: number | undefined;
2581
+ }, {
2582
+ name: string;
2583
+ image: string;
2584
+ apiTeamId: number;
2585
+ score: number;
2586
+ id?: string | undefined;
2587
+ isWinner?: boolean | undefined;
2588
+ seed?: number | undefined;
2589
+ teamCode?: string | undefined;
2590
+ scoreExtraTime?: number | undefined;
2591
+ }>;
2592
+ awayTeam: z.ZodObject<{
2593
+ id: z.ZodOptional<z.ZodString>;
2594
+ apiTeamId: z.ZodNumber;
2595
+ name: z.ZodString;
2596
+ score: z.ZodNumber;
2597
+ isWinner: z.ZodOptional<z.ZodBoolean>;
2598
+ image: z.ZodString;
2599
+ seed: z.ZodOptional<z.ZodNumber>;
2600
+ teamCode: z.ZodOptional<z.ZodString>;
2601
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
2602
+ }, "strip", z.ZodTypeAny, {
2603
+ name: string;
2604
+ image: string;
2605
+ apiTeamId: number;
2606
+ score: number;
2607
+ id?: string | undefined;
2608
+ isWinner?: boolean | undefined;
2609
+ seed?: number | undefined;
2610
+ teamCode?: string | undefined;
2611
+ scoreExtraTime?: number | undefined;
2612
+ }, {
2613
+ name: string;
2614
+ image: string;
2615
+ apiTeamId: number;
2616
+ score: number;
2617
+ id?: string | undefined;
2618
+ isWinner?: boolean | undefined;
2619
+ seed?: number | undefined;
2620
+ teamCode?: string | undefined;
2621
+ scoreExtraTime?: number | undefined;
2622
+ }>;
2486
2623
  seriesInfo: z.ZodOptional<z.ZodObject<{
2487
2624
  homeTeamWins: z.ZodNumber;
2488
2625
  awayTeamWins: z.ZodNumber;
@@ -2524,6 +2661,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2524
2661
  options: Record<number, number>;
2525
2662
  };
2526
2663
  }>>;
2664
+ }, {
2527
2665
  league: z.ZodLiteral<"epl">;
2528
2666
  week: z.ZodNumber;
2529
2667
  period: z.ZodString;
@@ -2533,21 +2671,23 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2533
2671
  venueType: z.ZodString;
2534
2672
  attendance: z.ZodNumber;
2535
2673
  aggregateScore: z.ZodString;
2536
- homeTeam: z.ZodObject<{
2674
+ homeTeam: z.ZodObject<z.objectUtil.extendShape<{
2537
2675
  id: z.ZodOptional<z.ZodString>;
2538
- name: z.ZodString;
2539
- image: z.ZodString;
2540
2676
  apiTeamId: z.ZodNumber;
2677
+ name: z.ZodString;
2541
2678
  score: z.ZodNumber;
2542
2679
  isWinner: z.ZodOptional<z.ZodBoolean>;
2680
+ image: z.ZodString;
2543
2681
  seed: z.ZodOptional<z.ZodNumber>;
2544
2682
  teamCode: z.ZodOptional<z.ZodString>;
2683
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
2684
+ }, {
2545
2685
  scorePeriod1: z.ZodNumber;
2546
2686
  scorePeriod2: z.ZodNumber;
2547
2687
  scoreExtraTime: z.ZodNumber;
2548
2688
  scorePenalty: z.ZodNumber;
2549
2689
  venueName: z.ZodOptional<z.ZodString>;
2550
- }, "strip", z.ZodTypeAny, {
2690
+ }>, "strip", z.ZodTypeAny, {
2551
2691
  name: string;
2552
2692
  image: string;
2553
2693
  apiTeamId: number;
@@ -2576,21 +2716,23 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2576
2716
  teamCode?: string | undefined;
2577
2717
  venueName?: string | undefined;
2578
2718
  }>;
2579
- awayTeam: z.ZodObject<{
2719
+ awayTeam: z.ZodObject<z.objectUtil.extendShape<{
2580
2720
  id: z.ZodOptional<z.ZodString>;
2581
- name: z.ZodString;
2582
- image: z.ZodString;
2583
2721
  apiTeamId: z.ZodNumber;
2722
+ name: z.ZodString;
2584
2723
  score: z.ZodNumber;
2585
2724
  isWinner: z.ZodOptional<z.ZodBoolean>;
2725
+ image: z.ZodString;
2586
2726
  seed: z.ZodOptional<z.ZodNumber>;
2587
2727
  teamCode: z.ZodOptional<z.ZodString>;
2728
+ scoreExtraTime: z.ZodOptional<z.ZodNumber>;
2729
+ }, {
2588
2730
  scorePeriod1: z.ZodNumber;
2589
2731
  scorePeriod2: z.ZodNumber;
2590
2732
  scoreExtraTime: z.ZodNumber;
2591
2733
  scorePenalty: z.ZodNumber;
2592
2734
  venueName: z.ZodOptional<z.ZodString>;
2593
- }, "strip", z.ZodTypeAny, {
2735
+ }>, "strip", z.ZodTypeAny, {
2594
2736
  name: string;
2595
2737
  image: string;
2596
2738
  apiTeamId: number;
@@ -2620,7 +2762,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2620
2762
  venueName?: string | undefined;
2621
2763
  }>;
2622
2764
  hadExtraTime: z.ZodBoolean;
2623
- }, "strip", z.ZodTypeAny, {
2765
+ }>, "strip", z.ZodTypeAny, {
2624
2766
  status: "live" | "scheduled" | "final";
2625
2767
  week: number;
2626
2768
  startedAt: number;
@@ -2742,13 +2884,14 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2742
2884
  options: Record<number, number>;
2743
2885
  };
2744
2886
  } | undefined;
2745
- }>, z.ZodObject<{
2887
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2746
2888
  id: z.ZodOptional<z.ZodString>;
2747
2889
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
2748
2890
  isClosed: z.ZodOptional<z.ZodBoolean>;
2749
2891
  startedAt: z.ZodNumber;
2750
2892
  finishedAt: z.ZodNumber;
2751
2893
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
2894
+ apiGameId: z.ZodNumber;
2752
2895
  league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
2753
2896
  homeTeam: z.ZodObject<{
2754
2897
  id: z.ZodOptional<z.ZodString>;
@@ -2853,6 +2996,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2853
2996
  options: Record<number, number>;
2854
2997
  };
2855
2998
  }>>;
2999
+ }, {
2856
3000
  apiGameId: z.ZodString;
2857
3001
  seasonType: z.ZodNumber;
2858
3002
  season: z.ZodNumber;
@@ -2910,7 +3054,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
2910
3054
  GeoLong: number | null;
2911
3055
  Type: string | null;
2912
3056
  }>>;
2913
- }, "strip", z.ZodTypeAny, {
3057
+ }>, "strip", z.ZodTypeAny, {
2914
3058
  status: "live" | "scheduled" | "final";
2915
3059
  quarter: string | null;
2916
3060
  week: number;
@@ -3078,20 +3222,20 @@ export declare const searchGameSchema: z.ZodObject<{
3078
3222
  offset: z.ZodOptional<z.ZodString>;
3079
3223
  }, "strip", z.ZodTypeAny, {
3080
3224
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
3081
- q?: string | undefined;
3082
- teamId?: string | undefined;
3225
+ offset?: string | undefined;
3083
3226
  round?: string | undefined;
3227
+ q?: string | undefined;
3084
3228
  createdAt?: "12h" | "daily" | "weekly" | undefined;
3229
+ teamId?: string | undefined;
3085
3230
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
3086
3231
  limit?: string | undefined;
3087
- offset?: string | undefined;
3088
3232
  }, {
3089
3233
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
3090
- q?: string | undefined;
3091
- teamId?: string | undefined;
3234
+ offset?: string | undefined;
3092
3235
  round?: string | undefined;
3236
+ q?: string | undefined;
3093
3237
  createdAt?: "12h" | "daily" | "weekly" | undefined;
3238
+ teamId?: string | undefined;
3094
3239
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
3095
3240
  limit?: string | undefined;
3096
- offset?: string | undefined;
3097
3241
  }>;
@@ -161,13 +161,13 @@ export declare const internalNotification: z.ZodObject<{
161
161
  scoreExtraTime?: number | undefined;
162
162
  };
163
163
  round?: number | undefined;
164
+ week?: number | undefined;
164
165
  seriesInfo?: {
165
166
  maxLength: number;
166
167
  homeTeamWins: number;
167
168
  awayTeamWins: number;
168
169
  gameNumber: number;
169
170
  } | undefined;
170
- week?: number | undefined;
171
171
  }, {
172
172
  id: string;
173
173
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
@@ -194,13 +194,13 @@ export declare const internalNotification: z.ZodObject<{
194
194
  scoreExtraTime?: number | undefined;
195
195
  };
196
196
  round?: number | undefined;
197
+ week?: number | undefined;
197
198
  seriesInfo?: {
198
199
  maxLength: number;
199
200
  homeTeamWins: number;
200
201
  awayTeamWins: number;
201
202
  gameNumber: number;
202
203
  } | undefined;
203
- week?: number | undefined;
204
204
  }>;
205
205
  userLikes: z.ZodOptional<z.ZodNumber>;
206
206
  ratings: z.ZodObject<{
@@ -258,13 +258,13 @@ export declare const internalNotification: z.ZodObject<{
258
258
  scoreExtraTime?: number | undefined;
259
259
  };
260
260
  round?: number | undefined;
261
+ week?: number | undefined;
261
262
  seriesInfo?: {
262
263
  maxLength: number;
263
264
  homeTeamWins: number;
264
265
  awayTeamWins: number;
265
266
  gameNumber: number;
266
267
  } | undefined;
267
- week?: number | undefined;
268
268
  };
269
269
  comment?: string | undefined;
270
270
  userLikes?: number | undefined;
@@ -310,13 +310,13 @@ export declare const internalNotification: z.ZodObject<{
310
310
  scoreExtraTime?: number | undefined;
311
311
  };
312
312
  round?: number | undefined;
313
+ week?: number | undefined;
313
314
  seriesInfo?: {
314
315
  maxLength: number;
315
316
  homeTeamWins: number;
316
317
  awayTeamWins: number;
317
318
  gameNumber: number;
318
319
  } | undefined;
319
- week?: number | undefined;
320
320
  };
321
321
  comment?: string | undefined;
322
322
  userLikes?: number | undefined;
@@ -334,10 +334,9 @@ export declare const internalNotification: z.ZodObject<{
334
334
  badge?: string | undefined;
335
335
  };
336
336
  category: string;
337
- createdAt?: any;
338
- data?: any;
339
337
  link?: string | undefined;
340
- linkText?: string | undefined;
338
+ data?: any;
339
+ createdAt?: any;
341
340
  rating?: {
342
341
  id: string;
343
342
  user: {
@@ -380,17 +379,18 @@ export declare const internalNotification: z.ZodObject<{
380
379
  scoreExtraTime?: number | undefined;
381
380
  };
382
381
  round?: number | undefined;
382
+ week?: number | undefined;
383
383
  seriesInfo?: {
384
384
  maxLength: number;
385
385
  homeTeamWins: number;
386
386
  awayTeamWins: number;
387
387
  gameNumber: number;
388
388
  } | undefined;
389
- week?: number | undefined;
390
389
  };
391
390
  comment?: string | undefined;
392
391
  userLikes?: number | undefined;
393
392
  } | undefined;
393
+ linkText?: string | undefined;
394
394
  }, {
395
395
  id: string;
396
396
  source: string;
@@ -404,10 +404,9 @@ export declare const internalNotification: z.ZodObject<{
404
404
  badge?: string | undefined;
405
405
  };
406
406
  category: string;
407
- createdAt?: any;
408
- data?: any;
409
407
  link?: string | undefined;
410
- linkText?: string | undefined;
408
+ data?: any;
409
+ createdAt?: any;
411
410
  rating?: {
412
411
  id: string;
413
412
  user: {
@@ -450,15 +449,16 @@ export declare const internalNotification: z.ZodObject<{
450
449
  scoreExtraTime?: number | undefined;
451
450
  };
452
451
  round?: number | undefined;
452
+ week?: number | undefined;
453
453
  seriesInfo?: {
454
454
  maxLength: number;
455
455
  homeTeamWins: number;
456
456
  awayTeamWins: number;
457
457
  gameNumber: number;
458
458
  } | undefined;
459
- week?: number | undefined;
460
459
  };
461
460
  comment?: string | undefined;
462
461
  userLikes?: number | undefined;
463
462
  } | undefined;
463
+ linkText?: string | undefined;
464
464
  }>;
@@ -131,13 +131,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
131
131
  scoreExtraTime?: number | undefined;
132
132
  };
133
133
  round?: number | undefined;
134
+ week?: number | undefined;
134
135
  seriesInfo?: {
135
136
  maxLength: number;
136
137
  homeTeamWins: number;
137
138
  awayTeamWins: number;
138
139
  gameNumber: number;
139
140
  } | undefined;
140
- week?: number | undefined;
141
141
  }, {
142
142
  id: string;
143
143
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
@@ -164,13 +164,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
164
164
  scoreExtraTime?: number | undefined;
165
165
  };
166
166
  round?: number | undefined;
167
+ week?: number | undefined;
167
168
  seriesInfo?: {
168
169
  maxLength: number;
169
170
  homeTeamWins: number;
170
171
  awayTeamWins: number;
171
172
  gameNumber: number;
172
173
  } | undefined;
173
- week?: number | undefined;
174
174
  }>;
175
175
  userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
176
176
  ratings: import("zod").ZodObject<{
@@ -228,13 +228,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
228
228
  scoreExtraTime?: number | undefined;
229
229
  };
230
230
  round?: number | undefined;
231
+ week?: number | undefined;
231
232
  seriesInfo?: {
232
233
  maxLength: number;
233
234
  homeTeamWins: number;
234
235
  awayTeamWins: number;
235
236
  gameNumber: number;
236
237
  } | undefined;
237
- week?: number | undefined;
238
238
  };
239
239
  comment?: string | undefined;
240
240
  userLikes?: number | undefined;
@@ -280,13 +280,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
280
280
  scoreExtraTime?: number | undefined;
281
281
  };
282
282
  round?: number | undefined;
283
+ week?: number | undefined;
283
284
  seriesInfo?: {
284
285
  maxLength: number;
285
286
  homeTeamWins: number;
286
287
  awayTeamWins: number;
287
288
  gameNumber: number;
288
289
  } | undefined;
289
- week?: number | undefined;
290
290
  };
291
291
  comment?: string | undefined;
292
292
  userLikes?: number | undefined;
@@ -310,34 +310,34 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
310
310
  division: import("zod").ZodOptional<import("zod").ZodString>;
311
311
  }, "strip", import("zod").ZodTypeAny, {
312
312
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
313
- q?: string | undefined;
314
- teamId?: string | undefined;
313
+ offset?: string | undefined;
315
314
  round?: string | undefined;
315
+ q?: string | undefined;
316
+ username?: string | undefined;
316
317
  createdAt?: "12h" | "daily" | "weekly" | undefined;
318
+ teamId?: string | undefined;
317
319
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
318
320
  limit?: string | undefined;
319
- offset?: string | undefined;
321
+ comment?: string | undefined;
320
322
  gameId?: string | undefined;
321
323
  showEmptyRatings?: string | undefined;
322
- comment?: string | undefined;
323
- username?: string | undefined;
324
324
  following?: string | undefined;
325
325
  userId?: string | undefined;
326
326
  mlbTeamLeague?: string | undefined;
327
327
  division?: string | undefined;
328
328
  }, {
329
329
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
330
- q?: string | undefined;
331
- teamId?: string | undefined;
330
+ offset?: string | undefined;
332
331
  round?: string | undefined;
332
+ q?: string | undefined;
333
+ username?: string | undefined;
333
334
  createdAt?: "12h" | "daily" | "weekly" | undefined;
335
+ teamId?: string | undefined;
334
336
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
335
337
  limit?: string | undefined;
336
- offset?: string | undefined;
338
+ comment?: string | undefined;
337
339
  gameId?: string | undefined;
338
340
  showEmptyRatings?: string | undefined;
339
- comment?: string | undefined;
340
- username?: string | undefined;
341
341
  following?: string | undefined;
342
342
  userId?: string | undefined;
343
343
  mlbTeamLeague?: string | undefined;
@@ -409,8 +409,181 @@ export declare const createAgreeRatingSchema: import("zod").ZodObject<{
409
409
  };
410
410
  agree: boolean;
411
411
  }>;
412
- export declare const createRatingSchema: import("zod").ZodObject<{
412
+ export declare const createRatingSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
413
+ id: import("zod").ZodString;
414
+ createdAt: import("zod").ZodNumber;
413
415
  rating: import("zod").ZodNumber;
416
+ comment: import("zod").ZodOptional<import("zod").ZodString>;
417
+ user: import("zod").ZodObject<{
418
+ id: import("zod").ZodString;
419
+ username: import("zod").ZodString;
420
+ avatarUrl: import("zod").ZodString;
421
+ email: import("zod").ZodString;
422
+ badge: import("zod").ZodOptional<import("zod").ZodString>;
423
+ }, "strip", import("zod").ZodTypeAny, {
424
+ id: string;
425
+ email: string;
426
+ username: string;
427
+ avatarUrl: string;
428
+ badge?: string | undefined;
429
+ }, {
430
+ id: string;
431
+ email: string;
432
+ username: string;
433
+ avatarUrl: string;
434
+ badge?: string | undefined;
435
+ }>;
436
+ game: import("zod").ZodObject<{
437
+ id: import("zod").ZodString;
438
+ round: import("zod").ZodOptional<import("zod").ZodNumber>;
439
+ 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">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"epl">]>;
440
+ homeTeam: import("zod").ZodObject<{
441
+ id: import("zod").ZodOptional<import("zod").ZodString>;
442
+ apiTeamId: import("zod").ZodNumber;
443
+ name: import("zod").ZodString;
444
+ score: import("zod").ZodNumber;
445
+ isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
446
+ image: import("zod").ZodString;
447
+ seed: import("zod").ZodOptional<import("zod").ZodNumber>;
448
+ teamCode: import("zod").ZodOptional<import("zod").ZodString>;
449
+ scoreExtraTime: import("zod").ZodOptional<import("zod").ZodNumber>;
450
+ }, "strip", import("zod").ZodTypeAny, {
451
+ name: string;
452
+ image: string;
453
+ apiTeamId: number;
454
+ score: number;
455
+ id?: string | undefined;
456
+ isWinner?: boolean | undefined;
457
+ seed?: number | undefined;
458
+ teamCode?: string | undefined;
459
+ scoreExtraTime?: number | undefined;
460
+ }, {
461
+ name: string;
462
+ image: string;
463
+ apiTeamId: number;
464
+ score: number;
465
+ id?: string | undefined;
466
+ isWinner?: boolean | undefined;
467
+ seed?: number | undefined;
468
+ teamCode?: string | undefined;
469
+ scoreExtraTime?: number | undefined;
470
+ }>;
471
+ awayTeam: import("zod").ZodObject<{
472
+ id: import("zod").ZodOptional<import("zod").ZodString>;
473
+ apiTeamId: import("zod").ZodNumber;
474
+ name: import("zod").ZodString;
475
+ score: import("zod").ZodNumber;
476
+ isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
477
+ image: import("zod").ZodString;
478
+ seed: import("zod").ZodOptional<import("zod").ZodNumber>;
479
+ teamCode: import("zod").ZodOptional<import("zod").ZodString>;
480
+ scoreExtraTime: import("zod").ZodOptional<import("zod").ZodNumber>;
481
+ }, "strip", import("zod").ZodTypeAny, {
482
+ name: string;
483
+ image: string;
484
+ apiTeamId: number;
485
+ score: number;
486
+ id?: string | undefined;
487
+ isWinner?: boolean | undefined;
488
+ seed?: number | undefined;
489
+ teamCode?: string | undefined;
490
+ scoreExtraTime?: number | undefined;
491
+ }, {
492
+ name: string;
493
+ image: string;
494
+ apiTeamId: number;
495
+ score: number;
496
+ id?: string | undefined;
497
+ isWinner?: boolean | undefined;
498
+ seed?: number | undefined;
499
+ teamCode?: string | undefined;
500
+ scoreExtraTime?: number | undefined;
501
+ }>;
502
+ seriesInfo: import("zod").ZodOptional<import("zod").ZodObject<{
503
+ homeTeamWins: import("zod").ZodNumber;
504
+ awayTeamWins: import("zod").ZodNumber;
505
+ gameNumber: import("zod").ZodNumber;
506
+ maxLength: import("zod").ZodNumber;
507
+ }, "strip", import("zod").ZodTypeAny, {
508
+ maxLength: number;
509
+ homeTeamWins: number;
510
+ awayTeamWins: number;
511
+ gameNumber: number;
512
+ }, {
513
+ maxLength: number;
514
+ homeTeamWins: number;
515
+ awayTeamWins: number;
516
+ gameNumber: number;
517
+ }>>;
518
+ week: import("zod").ZodOptional<import("zod").ZodNumber>;
519
+ }, "strip", import("zod").ZodTypeAny, {
520
+ id: string;
521
+ league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
522
+ homeTeam: {
523
+ name: string;
524
+ image: string;
525
+ apiTeamId: number;
526
+ score: number;
527
+ id?: string | undefined;
528
+ isWinner?: boolean | undefined;
529
+ seed?: number | undefined;
530
+ teamCode?: string | undefined;
531
+ scoreExtraTime?: number | undefined;
532
+ };
533
+ awayTeam: {
534
+ name: string;
535
+ image: string;
536
+ apiTeamId: number;
537
+ score: number;
538
+ id?: string | undefined;
539
+ isWinner?: boolean | undefined;
540
+ seed?: number | undefined;
541
+ teamCode?: string | undefined;
542
+ scoreExtraTime?: number | undefined;
543
+ };
544
+ round?: number | undefined;
545
+ week?: number | undefined;
546
+ seriesInfo?: {
547
+ maxLength: number;
548
+ homeTeamWins: number;
549
+ awayTeamWins: number;
550
+ gameNumber: number;
551
+ } | undefined;
552
+ }, {
553
+ id: string;
554
+ league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
555
+ homeTeam: {
556
+ name: string;
557
+ image: string;
558
+ apiTeamId: number;
559
+ score: number;
560
+ id?: string | undefined;
561
+ isWinner?: boolean | undefined;
562
+ seed?: number | undefined;
563
+ teamCode?: string | undefined;
564
+ scoreExtraTime?: number | undefined;
565
+ };
566
+ awayTeam: {
567
+ name: string;
568
+ image: string;
569
+ apiTeamId: number;
570
+ score: number;
571
+ id?: string | undefined;
572
+ isWinner?: boolean | undefined;
573
+ seed?: number | undefined;
574
+ teamCode?: string | undefined;
575
+ scoreExtraTime?: number | undefined;
576
+ };
577
+ round?: number | undefined;
578
+ week?: number | undefined;
579
+ seriesInfo?: {
580
+ maxLength: number;
581
+ homeTeamWins: number;
582
+ awayTeamWins: number;
583
+ gameNumber: number;
584
+ } | undefined;
585
+ }>;
586
+ userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
414
587
  ratings: import("zod").ZodObject<{
415
588
  initialWindowRating: import("zod").ZodOptional<import("zod").ZodNumber>;
416
589
  normalRating: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -424,8 +597,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
424
597
  normalRating?: number | undefined;
425
598
  weightedRating?: number | undefined;
426
599
  }>;
427
- comment: import("zod").ZodOptional<import("zod").ZodString>;
428
- userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
600
+ }, "id" | "user" | "createdAt">, {
429
601
  game: import("zod").ZodObject<Omit<{
430
602
  id: import("zod").ZodString;
431
603
  round: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -531,7 +703,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
531
703
  } | undefined;
532
704
  }>;
533
705
  id: import("zod").ZodOptional<import("zod").ZodString>;
534
- }, "strip", import("zod").ZodTypeAny, {
706
+ }>, "strip", import("zod").ZodTypeAny, {
535
707
  rating: number;
536
708
  ratings: {
537
709
  initialWindowRating?: number | undefined;
@@ -549,9 +721,9 @@ export declare const createRatingSchema: import("zod").ZodObject<{
549
721
  gameNumber: number;
550
722
  } | undefined;
551
723
  };
724
+ id?: string | undefined;
552
725
  comment?: string | undefined;
553
726
  userLikes?: number | undefined;
554
- id?: string | undefined;
555
727
  }, {
556
728
  rating: number;
557
729
  ratings: {
@@ -570,9 +742,9 @@ export declare const createRatingSchema: import("zod").ZodObject<{
570
742
  gameNumber: number;
571
743
  } | undefined;
572
744
  };
745
+ id?: string | undefined;
573
746
  comment?: string | undefined;
574
747
  userLikes?: number | undefined;
575
- id?: string | undefined;
576
748
  }>;
577
749
  export declare const threadCommentSchema: import("zod").ZodObject<{
578
750
  id: import("zod").ZodString;
@@ -1,14 +1,15 @@
1
1
  import { z } from "zod";
2
- export declare const teamSchema: z.ZodObject<{
2
+ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
3
3
  id: z.ZodOptional<z.ZodString>;
4
+ apiTeamId: z.ZodNumber;
4
5
  name: z.ZodString;
5
6
  image: z.ZodString;
6
- apiTeamId: z.ZodNumber;
7
7
  city: z.ZodOptional<z.ZodString>;
8
+ }, {
8
9
  seed: z.ZodNumber;
9
10
  conference: z.ZodOptional<z.ZodString>;
10
11
  school: z.ZodOptional<z.ZodString>;
11
- }, "strip", z.ZodTypeAny, {
12
+ }>, "strip", z.ZodTypeAny, {
12
13
  name: string;
13
14
  image: string;
14
15
  apiTeamId: number;
@@ -29,24 +30,25 @@ export declare const teamSchema: z.ZodObject<{
29
30
  }>;
30
31
  export declare const divisionSchema: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
31
32
  export declare const leagueSchema: z.ZodUnion<[z.ZodLiteral<"national">, z.ZodLiteral<"american">]>;
32
- export declare const mlbTeamSchema: z.ZodObject<{
33
+ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
33
34
  id: z.ZodOptional<z.ZodString>;
35
+ apiTeamId: z.ZodNumber;
34
36
  name: z.ZodString;
35
37
  image: z.ZodString;
36
- apiTeamId: z.ZodNumber;
37
38
  city: z.ZodOptional<z.ZodString>;
39
+ }, {
38
40
  division: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
39
41
  league: z.ZodUnion<[z.ZodLiteral<"national">, z.ZodLiteral<"american">]>;
40
42
  teamCode: z.ZodOptional<z.ZodString>;
41
- }, "strip", z.ZodTypeAny, {
43
+ }>, "strip", z.ZodTypeAny, {
42
44
  name: string;
43
45
  image: string;
44
46
  apiTeamId: number;
45
47
  league: "national" | "american";
46
48
  division: "east" | "central" | "west";
47
49
  id?: string | undefined;
48
- city?: string | undefined;
49
50
  teamCode?: string | undefined;
51
+ city?: string | undefined;
50
52
  }, {
51
53
  name: string;
52
54
  image: string;
@@ -54,59 +56,93 @@ export declare const mlbTeamSchema: z.ZodObject<{
54
56
  league: "national" | "american";
55
57
  division: "east" | "central" | "west";
56
58
  id?: string | undefined;
57
- city?: string | undefined;
58
59
  teamCode?: string | undefined;
60
+ city?: string | undefined;
59
61
  }>;
60
- export declare const eplTeamSchema: z.ZodObject<{
62
+ export declare const eplTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
61
63
  id: z.ZodOptional<z.ZodString>;
64
+ apiTeamId: z.ZodNumber;
62
65
  name: z.ZodString;
63
66
  image: z.ZodString;
64
- apiTeamId: z.ZodNumber;
65
67
  city: z.ZodOptional<z.ZodString>;
68
+ }, {
66
69
  teamCode: z.ZodOptional<z.ZodString>;
67
70
  venueName: z.ZodOptional<z.ZodString>;
68
- }, "strip", z.ZodTypeAny, {
71
+ }>, "strip", z.ZodTypeAny, {
69
72
  name: string;
70
73
  image: string;
71
74
  apiTeamId: number;
72
75
  id?: string | undefined;
73
- city?: string | undefined;
74
76
  teamCode?: string | undefined;
75
77
  venueName?: string | undefined;
78
+ city?: string | undefined;
76
79
  }, {
77
80
  name: string;
78
81
  image: string;
79
82
  apiTeamId: number;
80
83
  id?: string | undefined;
81
- city?: string | undefined;
82
84
  teamCode?: string | undefined;
83
85
  venueName?: string | undefined;
86
+ city?: string | undefined;
84
87
  }>;
85
- export declare const nflTeamSchema: z.ZodObject<{
88
+ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
86
89
  id: z.ZodOptional<z.ZodString>;
90
+ apiTeamId: z.ZodNumber;
87
91
  name: z.ZodString;
88
92
  image: z.ZodString;
89
- apiTeamId: z.ZodNumber;
90
93
  city: z.ZodOptional<z.ZodString>;
94
+ }, {
91
95
  conference: z.ZodOptional<z.ZodString>;
92
96
  division: z.ZodOptional<z.ZodString>;
93
97
  teamCode: z.ZodOptional<z.ZodString>;
94
- }, "strip", z.ZodTypeAny, {
98
+ }>, "strip", z.ZodTypeAny, {
95
99
  name: string;
96
100
  image: string;
97
101
  apiTeamId: number;
98
102
  id?: string | undefined;
103
+ teamCode?: string | undefined;
104
+ division?: string | undefined;
99
105
  city?: string | undefined;
100
106
  conference?: string | undefined;
101
- division?: string | undefined;
107
+ }, {
108
+ name: string;
109
+ image: string;
110
+ apiTeamId: number;
111
+ id?: string | undefined;
102
112
  teamCode?: string | undefined;
113
+ division?: string | undefined;
114
+ city?: string | undefined;
115
+ conference?: string | undefined;
116
+ }>;
117
+ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
118
+ id: z.ZodOptional<z.ZodString>;
119
+ apiTeamId: z.ZodNumber;
120
+ name: z.ZodString;
121
+ image: z.ZodString;
122
+ city: z.ZodOptional<z.ZodString>;
103
123
  }, {
124
+ teamCode: z.ZodOptional<z.ZodString>;
125
+ APRank: z.ZodOptional<z.ZodNumber>;
126
+ conference: z.ZodOptional<z.ZodString>;
127
+ school: z.ZodString;
128
+ }>, "strip", z.ZodTypeAny, {
104
129
  name: string;
105
130
  image: string;
106
131
  apiTeamId: number;
132
+ school: string;
107
133
  id?: string | undefined;
134
+ teamCode?: string | undefined;
108
135
  city?: string | undefined;
109
136
  conference?: string | undefined;
110
- division?: string | undefined;
137
+ APRank?: number | undefined;
138
+ }, {
139
+ name: string;
140
+ image: string;
141
+ apiTeamId: number;
142
+ school: string;
143
+ id?: string | undefined;
111
144
  teamCode?: string | undefined;
145
+ city?: string | undefined;
146
+ conference?: string | undefined;
147
+ APRank?: number | undefined;
112
148
  }>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.nflTeamSchema = exports.eplTeamSchema = exports.mlbTeamSchema = exports.leagueSchema = exports.divisionSchema = exports.teamSchema = void 0;
3
+ exports.cfbTeamSchema = exports.nflTeamSchema = exports.eplTeamSchema = exports.mlbTeamSchema = exports.leagueSchema = exports.divisionSchema = exports.teamSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const baseTeamSchema = zod_1.z.object({
6
6
  id: zod_1.z.string().optional(),
@@ -37,3 +37,9 @@ exports.nflTeamSchema = baseTeamSchema.extend({
37
37
  division: zod_1.z.string().optional(),
38
38
  teamCode: zod_1.z.string().optional(),
39
39
  });
40
+ exports.cfbTeamSchema = baseTeamSchema.extend({
41
+ teamCode: zod_1.z.string().optional(),
42
+ APRank: zod_1.z.number().optional(),
43
+ conference: zod_1.z.string().optional(),
44
+ school: zod_1.z.string(),
45
+ });
@@ -616,6 +616,10 @@ export declare const userSchema: import("zod").ZodObject<{
616
616
  }>;
617
617
  askedForPushNotifications: boolean;
618
618
  acceptedPushNotifications: boolean;
619
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
620
+ totalRatedGames?: number | undefined;
621
+ commentsLeft?: number | undefined;
622
+ avgRating?: number | undefined;
619
623
  avatarUrl?: string | null | undefined;
620
624
  leagues?: {
621
625
  nba: {
@@ -709,9 +713,6 @@ export declare const userSchema: import("zod").ZodObject<{
709
713
  };
710
714
  };
711
715
  } | undefined;
712
- totalRatedGames?: number | undefined;
713
- commentsLeft?: number | undefined;
714
- avgRating?: number | undefined;
715
716
  isRegistrationComplete?: boolean | undefined;
716
717
  badge?: string | undefined;
717
718
  registrationStep?: number | undefined;
@@ -725,7 +726,6 @@ export declare const userSchema: import("zod").ZodObject<{
725
726
  youtube?: string | undefined;
726
727
  tiktok?: string | undefined;
727
728
  } | undefined;
728
- platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
729
729
  selectedTeamsPerLeague?: Record<string, string[]> | undefined;
730
730
  notificationSettings?: {
731
731
  allGames?: boolean | undefined;
@@ -746,6 +746,10 @@ export declare const userSchema: import("zod").ZodObject<{
746
746
  }>;
747
747
  askedForPushNotifications: boolean;
748
748
  acceptedPushNotifications: boolean;
749
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
750
+ totalRatedGames?: number | undefined;
751
+ commentsLeft?: number | undefined;
752
+ avgRating?: number | undefined;
749
753
  avatarUrl?: string | null | undefined;
750
754
  leagues?: {
751
755
  nba: {
@@ -839,9 +843,6 @@ export declare const userSchema: import("zod").ZodObject<{
839
843
  };
840
844
  };
841
845
  } | undefined;
842
- totalRatedGames?: number | undefined;
843
- commentsLeft?: number | undefined;
844
- avgRating?: number | undefined;
845
846
  isRegistrationComplete?: boolean | undefined;
846
847
  badge?: string | undefined;
847
848
  registrationStep?: number | undefined;
@@ -855,7 +856,6 @@ export declare const userSchema: import("zod").ZodObject<{
855
856
  youtube?: string | undefined;
856
857
  tiktok?: string | undefined;
857
858
  } | undefined;
858
- platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
859
859
  selectedTeamsPerLeague?: Record<string, string[]> | undefined;
860
860
  notificationSettings?: {
861
861
  allGames?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
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",