rategame-shared 1.1.262 → 1.1.264
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.
- package/dist/models/stadium.d.ts +2 -1
- package/dist/schemas/stadium.d.ts +1377 -0
- package/dist/schemas/stadium.js +8 -1
- package/package.json +1 -1
|
@@ -1274,6 +1274,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1274
1274
|
roundName?: string | undefined;
|
|
1275
1275
|
}>>;
|
|
1276
1276
|
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
1277
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1278
|
+
edited: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1277
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1278
1281
|
type: "stadium" | "game";
|
|
1279
1282
|
id: string;
|
|
@@ -1303,6 +1306,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1303
1306
|
teamIds?: string[] | undefined;
|
|
1304
1307
|
teamLeagues?: string[] | undefined;
|
|
1305
1308
|
};
|
|
1309
|
+
updatedAt?: number | undefined;
|
|
1306
1310
|
comment?: string | undefined;
|
|
1307
1311
|
game?: {
|
|
1308
1312
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -1350,6 +1354,8 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1350
1354
|
roundName?: string | undefined;
|
|
1351
1355
|
} | undefined;
|
|
1352
1356
|
userLikes?: number | undefined;
|
|
1357
|
+
edited?: boolean | undefined;
|
|
1358
|
+
userLocation?: string | null | undefined;
|
|
1353
1359
|
gamesAttended?: number | undefined;
|
|
1354
1360
|
}, {
|
|
1355
1361
|
type: "stadium" | "game";
|
|
@@ -1380,6 +1386,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1380
1386
|
teamIds?: string[] | undefined;
|
|
1381
1387
|
teamLeagues?: string[] | undefined;
|
|
1382
1388
|
};
|
|
1389
|
+
updatedAt?: number | undefined;
|
|
1383
1390
|
comment?: string | undefined;
|
|
1384
1391
|
game?: {
|
|
1385
1392
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -1427,6 +1434,8 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1427
1434
|
roundName?: string | undefined;
|
|
1428
1435
|
} | undefined;
|
|
1429
1436
|
userLikes?: number | undefined;
|
|
1437
|
+
edited?: boolean | undefined;
|
|
1438
|
+
userLocation?: string | null | undefined;
|
|
1430
1439
|
gamesAttended?: number | undefined;
|
|
1431
1440
|
}>;
|
|
1432
1441
|
export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
@@ -1451,3 +1460,1371 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1451
1460
|
userId?: string | undefined;
|
|
1452
1461
|
showEmptyRatings?: string | undefined;
|
|
1453
1462
|
}>;
|
|
1463
|
+
export declare const createStadiumRatingSchema: z.ZodObject<Omit<{
|
|
1464
|
+
id: z.ZodString;
|
|
1465
|
+
createdAt: z.ZodNumber;
|
|
1466
|
+
rating: z.ZodNumber;
|
|
1467
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
user: z.ZodObject<Pick<{
|
|
1469
|
+
id: z.ZodString;
|
|
1470
|
+
email: z.ZodString;
|
|
1471
|
+
username: z.ZodString;
|
|
1472
|
+
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1473
|
+
createdAt: z.ZodNumber;
|
|
1474
|
+
updatedAt: z.ZodNumber;
|
|
1475
|
+
leagues: z.ZodOptional<z.ZodObject<{
|
|
1476
|
+
nba: z.ZodObject<{
|
|
1477
|
+
totalRatedGames: z.ZodNumber;
|
|
1478
|
+
commentsLeft: z.ZodNumber;
|
|
1479
|
+
avgRating: z.ZodNumber;
|
|
1480
|
+
avgRatings: z.ZodObject<{
|
|
1481
|
+
initialWindowRating: z.ZodNumber;
|
|
1482
|
+
normalRating: z.ZodNumber;
|
|
1483
|
+
weightedRating: z.ZodNumber;
|
|
1484
|
+
}, "strip", z.ZodTypeAny, {
|
|
1485
|
+
initialWindowRating: number;
|
|
1486
|
+
normalRating: number;
|
|
1487
|
+
weightedRating: number;
|
|
1488
|
+
}, {
|
|
1489
|
+
initialWindowRating: number;
|
|
1490
|
+
normalRating: number;
|
|
1491
|
+
weightedRating: number;
|
|
1492
|
+
}>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
totalRatedGames: number;
|
|
1495
|
+
commentsLeft: number;
|
|
1496
|
+
avgRating: number;
|
|
1497
|
+
avgRatings: {
|
|
1498
|
+
initialWindowRating: number;
|
|
1499
|
+
normalRating: number;
|
|
1500
|
+
weightedRating: number;
|
|
1501
|
+
};
|
|
1502
|
+
}, {
|
|
1503
|
+
totalRatedGames: number;
|
|
1504
|
+
commentsLeft: number;
|
|
1505
|
+
avgRating: number;
|
|
1506
|
+
avgRatings: {
|
|
1507
|
+
initialWindowRating: number;
|
|
1508
|
+
normalRating: number;
|
|
1509
|
+
weightedRating: number;
|
|
1510
|
+
};
|
|
1511
|
+
}>;
|
|
1512
|
+
ncaa: z.ZodObject<{
|
|
1513
|
+
totalRatedGames: z.ZodNumber;
|
|
1514
|
+
commentsLeft: z.ZodNumber;
|
|
1515
|
+
avgRating: z.ZodNumber;
|
|
1516
|
+
avgRatings: z.ZodObject<{
|
|
1517
|
+
initialWindowRating: z.ZodNumber;
|
|
1518
|
+
normalRating: z.ZodNumber;
|
|
1519
|
+
weightedRating: z.ZodNumber;
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
|
+
initialWindowRating: number;
|
|
1522
|
+
normalRating: number;
|
|
1523
|
+
weightedRating: number;
|
|
1524
|
+
}, {
|
|
1525
|
+
initialWindowRating: number;
|
|
1526
|
+
normalRating: number;
|
|
1527
|
+
weightedRating: number;
|
|
1528
|
+
}>;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
totalRatedGames: number;
|
|
1531
|
+
commentsLeft: number;
|
|
1532
|
+
avgRating: number;
|
|
1533
|
+
avgRatings: {
|
|
1534
|
+
initialWindowRating: number;
|
|
1535
|
+
normalRating: number;
|
|
1536
|
+
weightedRating: number;
|
|
1537
|
+
};
|
|
1538
|
+
}, {
|
|
1539
|
+
totalRatedGames: number;
|
|
1540
|
+
commentsLeft: number;
|
|
1541
|
+
avgRating: number;
|
|
1542
|
+
avgRatings: {
|
|
1543
|
+
initialWindowRating: number;
|
|
1544
|
+
normalRating: number;
|
|
1545
|
+
weightedRating: number;
|
|
1546
|
+
};
|
|
1547
|
+
}>;
|
|
1548
|
+
mlb: z.ZodObject<{
|
|
1549
|
+
totalRatedGames: z.ZodNumber;
|
|
1550
|
+
commentsLeft: z.ZodNumber;
|
|
1551
|
+
avgRating: z.ZodNumber;
|
|
1552
|
+
avgRatings: z.ZodObject<{
|
|
1553
|
+
initialWindowRating: z.ZodNumber;
|
|
1554
|
+
normalRating: z.ZodNumber;
|
|
1555
|
+
weightedRating: z.ZodNumber;
|
|
1556
|
+
}, "strip", z.ZodTypeAny, {
|
|
1557
|
+
initialWindowRating: number;
|
|
1558
|
+
normalRating: number;
|
|
1559
|
+
weightedRating: number;
|
|
1560
|
+
}, {
|
|
1561
|
+
initialWindowRating: number;
|
|
1562
|
+
normalRating: number;
|
|
1563
|
+
weightedRating: number;
|
|
1564
|
+
}>;
|
|
1565
|
+
}, "strip", z.ZodTypeAny, {
|
|
1566
|
+
totalRatedGames: number;
|
|
1567
|
+
commentsLeft: number;
|
|
1568
|
+
avgRating: number;
|
|
1569
|
+
avgRatings: {
|
|
1570
|
+
initialWindowRating: number;
|
|
1571
|
+
normalRating: number;
|
|
1572
|
+
weightedRating: number;
|
|
1573
|
+
};
|
|
1574
|
+
}, {
|
|
1575
|
+
totalRatedGames: number;
|
|
1576
|
+
commentsLeft: number;
|
|
1577
|
+
avgRating: number;
|
|
1578
|
+
avgRatings: {
|
|
1579
|
+
initialWindowRating: number;
|
|
1580
|
+
normalRating: number;
|
|
1581
|
+
weightedRating: number;
|
|
1582
|
+
};
|
|
1583
|
+
}>;
|
|
1584
|
+
nfl: z.ZodObject<{
|
|
1585
|
+
totalRatedGames: z.ZodNumber;
|
|
1586
|
+
commentsLeft: z.ZodNumber;
|
|
1587
|
+
avgRating: z.ZodNumber;
|
|
1588
|
+
avgRatings: z.ZodObject<{
|
|
1589
|
+
initialWindowRating: z.ZodNumber;
|
|
1590
|
+
normalRating: z.ZodNumber;
|
|
1591
|
+
weightedRating: z.ZodNumber;
|
|
1592
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
|
+
initialWindowRating: number;
|
|
1594
|
+
normalRating: number;
|
|
1595
|
+
weightedRating: number;
|
|
1596
|
+
}, {
|
|
1597
|
+
initialWindowRating: number;
|
|
1598
|
+
normalRating: number;
|
|
1599
|
+
weightedRating: number;
|
|
1600
|
+
}>;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
totalRatedGames: number;
|
|
1603
|
+
commentsLeft: number;
|
|
1604
|
+
avgRating: number;
|
|
1605
|
+
avgRatings: {
|
|
1606
|
+
initialWindowRating: number;
|
|
1607
|
+
normalRating: number;
|
|
1608
|
+
weightedRating: number;
|
|
1609
|
+
};
|
|
1610
|
+
}, {
|
|
1611
|
+
totalRatedGames: number;
|
|
1612
|
+
commentsLeft: number;
|
|
1613
|
+
avgRating: number;
|
|
1614
|
+
avgRatings: {
|
|
1615
|
+
initialWindowRating: number;
|
|
1616
|
+
normalRating: number;
|
|
1617
|
+
weightedRating: number;
|
|
1618
|
+
};
|
|
1619
|
+
}>;
|
|
1620
|
+
nhl: z.ZodObject<{
|
|
1621
|
+
totalRatedGames: z.ZodNumber;
|
|
1622
|
+
commentsLeft: z.ZodNumber;
|
|
1623
|
+
avgRating: z.ZodNumber;
|
|
1624
|
+
avgRatings: z.ZodObject<{
|
|
1625
|
+
initialWindowRating: z.ZodNumber;
|
|
1626
|
+
normalRating: z.ZodNumber;
|
|
1627
|
+
weightedRating: z.ZodNumber;
|
|
1628
|
+
}, "strip", z.ZodTypeAny, {
|
|
1629
|
+
initialWindowRating: number;
|
|
1630
|
+
normalRating: number;
|
|
1631
|
+
weightedRating: number;
|
|
1632
|
+
}, {
|
|
1633
|
+
initialWindowRating: number;
|
|
1634
|
+
normalRating: number;
|
|
1635
|
+
weightedRating: number;
|
|
1636
|
+
}>;
|
|
1637
|
+
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
totalRatedGames: number;
|
|
1639
|
+
commentsLeft: number;
|
|
1640
|
+
avgRating: number;
|
|
1641
|
+
avgRatings: {
|
|
1642
|
+
initialWindowRating: number;
|
|
1643
|
+
normalRating: number;
|
|
1644
|
+
weightedRating: number;
|
|
1645
|
+
};
|
|
1646
|
+
}, {
|
|
1647
|
+
totalRatedGames: number;
|
|
1648
|
+
commentsLeft: number;
|
|
1649
|
+
avgRating: number;
|
|
1650
|
+
avgRatings: {
|
|
1651
|
+
initialWindowRating: number;
|
|
1652
|
+
normalRating: number;
|
|
1653
|
+
weightedRating: number;
|
|
1654
|
+
};
|
|
1655
|
+
}>;
|
|
1656
|
+
mls: z.ZodObject<{
|
|
1657
|
+
totalRatedGames: z.ZodNumber;
|
|
1658
|
+
commentsLeft: z.ZodNumber;
|
|
1659
|
+
avgRating: z.ZodNumber;
|
|
1660
|
+
avgRatings: z.ZodObject<{
|
|
1661
|
+
initialWindowRating: z.ZodNumber;
|
|
1662
|
+
normalRating: z.ZodNumber;
|
|
1663
|
+
weightedRating: z.ZodNumber;
|
|
1664
|
+
}, "strip", z.ZodTypeAny, {
|
|
1665
|
+
initialWindowRating: number;
|
|
1666
|
+
normalRating: number;
|
|
1667
|
+
weightedRating: number;
|
|
1668
|
+
}, {
|
|
1669
|
+
initialWindowRating: number;
|
|
1670
|
+
normalRating: number;
|
|
1671
|
+
weightedRating: number;
|
|
1672
|
+
}>;
|
|
1673
|
+
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
totalRatedGames: number;
|
|
1675
|
+
commentsLeft: number;
|
|
1676
|
+
avgRating: number;
|
|
1677
|
+
avgRatings: {
|
|
1678
|
+
initialWindowRating: number;
|
|
1679
|
+
normalRating: number;
|
|
1680
|
+
weightedRating: number;
|
|
1681
|
+
};
|
|
1682
|
+
}, {
|
|
1683
|
+
totalRatedGames: number;
|
|
1684
|
+
commentsLeft: number;
|
|
1685
|
+
avgRating: number;
|
|
1686
|
+
avgRatings: {
|
|
1687
|
+
initialWindowRating: number;
|
|
1688
|
+
normalRating: number;
|
|
1689
|
+
weightedRating: number;
|
|
1690
|
+
};
|
|
1691
|
+
}>;
|
|
1692
|
+
cwc: z.ZodObject<{
|
|
1693
|
+
totalRatedGames: z.ZodNumber;
|
|
1694
|
+
commentsLeft: z.ZodNumber;
|
|
1695
|
+
avgRating: z.ZodNumber;
|
|
1696
|
+
avgRatings: z.ZodObject<{
|
|
1697
|
+
initialWindowRating: z.ZodNumber;
|
|
1698
|
+
normalRating: z.ZodNumber;
|
|
1699
|
+
weightedRating: z.ZodNumber;
|
|
1700
|
+
}, "strip", z.ZodTypeAny, {
|
|
1701
|
+
initialWindowRating: number;
|
|
1702
|
+
normalRating: number;
|
|
1703
|
+
weightedRating: number;
|
|
1704
|
+
}, {
|
|
1705
|
+
initialWindowRating: number;
|
|
1706
|
+
normalRating: number;
|
|
1707
|
+
weightedRating: number;
|
|
1708
|
+
}>;
|
|
1709
|
+
}, "strip", z.ZodTypeAny, {
|
|
1710
|
+
totalRatedGames: number;
|
|
1711
|
+
commentsLeft: number;
|
|
1712
|
+
avgRating: number;
|
|
1713
|
+
avgRatings: {
|
|
1714
|
+
initialWindowRating: number;
|
|
1715
|
+
normalRating: number;
|
|
1716
|
+
weightedRating: number;
|
|
1717
|
+
};
|
|
1718
|
+
}, {
|
|
1719
|
+
totalRatedGames: number;
|
|
1720
|
+
commentsLeft: number;
|
|
1721
|
+
avgRating: number;
|
|
1722
|
+
avgRatings: {
|
|
1723
|
+
initialWindowRating: number;
|
|
1724
|
+
normalRating: number;
|
|
1725
|
+
weightedRating: number;
|
|
1726
|
+
};
|
|
1727
|
+
}>;
|
|
1728
|
+
cfb: z.ZodObject<{
|
|
1729
|
+
totalRatedGames: z.ZodNumber;
|
|
1730
|
+
commentsLeft: z.ZodNumber;
|
|
1731
|
+
avgRating: z.ZodNumber;
|
|
1732
|
+
avgRatings: z.ZodObject<{
|
|
1733
|
+
initialWindowRating: z.ZodNumber;
|
|
1734
|
+
normalRating: z.ZodNumber;
|
|
1735
|
+
weightedRating: z.ZodNumber;
|
|
1736
|
+
}, "strip", z.ZodTypeAny, {
|
|
1737
|
+
initialWindowRating: number;
|
|
1738
|
+
normalRating: number;
|
|
1739
|
+
weightedRating: number;
|
|
1740
|
+
}, {
|
|
1741
|
+
initialWindowRating: number;
|
|
1742
|
+
normalRating: number;
|
|
1743
|
+
weightedRating: number;
|
|
1744
|
+
}>;
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
totalRatedGames: number;
|
|
1747
|
+
commentsLeft: number;
|
|
1748
|
+
avgRating: number;
|
|
1749
|
+
avgRatings: {
|
|
1750
|
+
initialWindowRating: number;
|
|
1751
|
+
normalRating: number;
|
|
1752
|
+
weightedRating: number;
|
|
1753
|
+
};
|
|
1754
|
+
}, {
|
|
1755
|
+
totalRatedGames: number;
|
|
1756
|
+
commentsLeft: number;
|
|
1757
|
+
avgRating: number;
|
|
1758
|
+
avgRatings: {
|
|
1759
|
+
initialWindowRating: number;
|
|
1760
|
+
normalRating: number;
|
|
1761
|
+
weightedRating: number;
|
|
1762
|
+
};
|
|
1763
|
+
}>;
|
|
1764
|
+
cbb: z.ZodObject<{
|
|
1765
|
+
totalRatedGames: z.ZodNumber;
|
|
1766
|
+
commentsLeft: z.ZodNumber;
|
|
1767
|
+
avgRating: z.ZodNumber;
|
|
1768
|
+
avgRatings: z.ZodObject<{
|
|
1769
|
+
initialWindowRating: z.ZodNumber;
|
|
1770
|
+
normalRating: z.ZodNumber;
|
|
1771
|
+
weightedRating: z.ZodNumber;
|
|
1772
|
+
}, "strip", z.ZodTypeAny, {
|
|
1773
|
+
initialWindowRating: number;
|
|
1774
|
+
normalRating: number;
|
|
1775
|
+
weightedRating: number;
|
|
1776
|
+
}, {
|
|
1777
|
+
initialWindowRating: number;
|
|
1778
|
+
normalRating: number;
|
|
1779
|
+
weightedRating: number;
|
|
1780
|
+
}>;
|
|
1781
|
+
}, "strip", z.ZodTypeAny, {
|
|
1782
|
+
totalRatedGames: number;
|
|
1783
|
+
commentsLeft: number;
|
|
1784
|
+
avgRating: number;
|
|
1785
|
+
avgRatings: {
|
|
1786
|
+
initialWindowRating: number;
|
|
1787
|
+
normalRating: number;
|
|
1788
|
+
weightedRating: number;
|
|
1789
|
+
};
|
|
1790
|
+
}, {
|
|
1791
|
+
totalRatedGames: number;
|
|
1792
|
+
commentsLeft: number;
|
|
1793
|
+
avgRating: number;
|
|
1794
|
+
avgRatings: {
|
|
1795
|
+
initialWindowRating: number;
|
|
1796
|
+
normalRating: number;
|
|
1797
|
+
weightedRating: number;
|
|
1798
|
+
};
|
|
1799
|
+
}>;
|
|
1800
|
+
epl: z.ZodObject<{
|
|
1801
|
+
totalRatedGames: z.ZodNumber;
|
|
1802
|
+
commentsLeft: z.ZodNumber;
|
|
1803
|
+
avgRating: z.ZodNumber;
|
|
1804
|
+
avgRatings: z.ZodObject<{
|
|
1805
|
+
initialWindowRating: z.ZodNumber;
|
|
1806
|
+
normalRating: z.ZodNumber;
|
|
1807
|
+
weightedRating: z.ZodNumber;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
initialWindowRating: number;
|
|
1810
|
+
normalRating: number;
|
|
1811
|
+
weightedRating: number;
|
|
1812
|
+
}, {
|
|
1813
|
+
initialWindowRating: number;
|
|
1814
|
+
normalRating: number;
|
|
1815
|
+
weightedRating: number;
|
|
1816
|
+
}>;
|
|
1817
|
+
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
totalRatedGames: number;
|
|
1819
|
+
commentsLeft: number;
|
|
1820
|
+
avgRating: number;
|
|
1821
|
+
avgRatings: {
|
|
1822
|
+
initialWindowRating: number;
|
|
1823
|
+
normalRating: number;
|
|
1824
|
+
weightedRating: number;
|
|
1825
|
+
};
|
|
1826
|
+
}, {
|
|
1827
|
+
totalRatedGames: number;
|
|
1828
|
+
commentsLeft: number;
|
|
1829
|
+
avgRating: number;
|
|
1830
|
+
avgRatings: {
|
|
1831
|
+
initialWindowRating: number;
|
|
1832
|
+
normalRating: number;
|
|
1833
|
+
weightedRating: number;
|
|
1834
|
+
};
|
|
1835
|
+
}>;
|
|
1836
|
+
wnba: z.ZodObject<{
|
|
1837
|
+
totalRatedGames: z.ZodNumber;
|
|
1838
|
+
commentsLeft: z.ZodNumber;
|
|
1839
|
+
avgRating: z.ZodNumber;
|
|
1840
|
+
avgRatings: z.ZodObject<{
|
|
1841
|
+
initialWindowRating: z.ZodNumber;
|
|
1842
|
+
normalRating: z.ZodNumber;
|
|
1843
|
+
weightedRating: z.ZodNumber;
|
|
1844
|
+
}, "strip", z.ZodTypeAny, {
|
|
1845
|
+
initialWindowRating: number;
|
|
1846
|
+
normalRating: number;
|
|
1847
|
+
weightedRating: number;
|
|
1848
|
+
}, {
|
|
1849
|
+
initialWindowRating: number;
|
|
1850
|
+
normalRating: number;
|
|
1851
|
+
weightedRating: number;
|
|
1852
|
+
}>;
|
|
1853
|
+
}, "strip", z.ZodTypeAny, {
|
|
1854
|
+
totalRatedGames: number;
|
|
1855
|
+
commentsLeft: number;
|
|
1856
|
+
avgRating: number;
|
|
1857
|
+
avgRatings: {
|
|
1858
|
+
initialWindowRating: number;
|
|
1859
|
+
normalRating: number;
|
|
1860
|
+
weightedRating: number;
|
|
1861
|
+
};
|
|
1862
|
+
}, {
|
|
1863
|
+
totalRatedGames: number;
|
|
1864
|
+
commentsLeft: number;
|
|
1865
|
+
avgRating: number;
|
|
1866
|
+
avgRatings: {
|
|
1867
|
+
initialWindowRating: number;
|
|
1868
|
+
normalRating: number;
|
|
1869
|
+
weightedRating: number;
|
|
1870
|
+
};
|
|
1871
|
+
}>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
nba: {
|
|
1874
|
+
totalRatedGames: number;
|
|
1875
|
+
commentsLeft: number;
|
|
1876
|
+
avgRating: number;
|
|
1877
|
+
avgRatings: {
|
|
1878
|
+
initialWindowRating: number;
|
|
1879
|
+
normalRating: number;
|
|
1880
|
+
weightedRating: number;
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
ncaa: {
|
|
1884
|
+
totalRatedGames: number;
|
|
1885
|
+
commentsLeft: number;
|
|
1886
|
+
avgRating: number;
|
|
1887
|
+
avgRatings: {
|
|
1888
|
+
initialWindowRating: number;
|
|
1889
|
+
normalRating: number;
|
|
1890
|
+
weightedRating: number;
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
nfl: {
|
|
1894
|
+
totalRatedGames: number;
|
|
1895
|
+
commentsLeft: number;
|
|
1896
|
+
avgRating: number;
|
|
1897
|
+
avgRatings: {
|
|
1898
|
+
initialWindowRating: number;
|
|
1899
|
+
normalRating: number;
|
|
1900
|
+
weightedRating: number;
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
nhl: {
|
|
1904
|
+
totalRatedGames: number;
|
|
1905
|
+
commentsLeft: number;
|
|
1906
|
+
avgRating: number;
|
|
1907
|
+
avgRatings: {
|
|
1908
|
+
initialWindowRating: number;
|
|
1909
|
+
normalRating: number;
|
|
1910
|
+
weightedRating: number;
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
mlb: {
|
|
1914
|
+
totalRatedGames: number;
|
|
1915
|
+
commentsLeft: number;
|
|
1916
|
+
avgRating: number;
|
|
1917
|
+
avgRatings: {
|
|
1918
|
+
initialWindowRating: number;
|
|
1919
|
+
normalRating: number;
|
|
1920
|
+
weightedRating: number;
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1923
|
+
cbb: {
|
|
1924
|
+
totalRatedGames: number;
|
|
1925
|
+
commentsLeft: number;
|
|
1926
|
+
avgRating: number;
|
|
1927
|
+
avgRatings: {
|
|
1928
|
+
initialWindowRating: number;
|
|
1929
|
+
normalRating: number;
|
|
1930
|
+
weightedRating: number;
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
cfb: {
|
|
1934
|
+
totalRatedGames: number;
|
|
1935
|
+
commentsLeft: number;
|
|
1936
|
+
avgRating: number;
|
|
1937
|
+
avgRatings: {
|
|
1938
|
+
initialWindowRating: number;
|
|
1939
|
+
normalRating: number;
|
|
1940
|
+
weightedRating: number;
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
epl: {
|
|
1944
|
+
totalRatedGames: number;
|
|
1945
|
+
commentsLeft: number;
|
|
1946
|
+
avgRating: number;
|
|
1947
|
+
avgRatings: {
|
|
1948
|
+
initialWindowRating: number;
|
|
1949
|
+
normalRating: number;
|
|
1950
|
+
weightedRating: number;
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
mls: {
|
|
1954
|
+
totalRatedGames: number;
|
|
1955
|
+
commentsLeft: number;
|
|
1956
|
+
avgRating: number;
|
|
1957
|
+
avgRatings: {
|
|
1958
|
+
initialWindowRating: number;
|
|
1959
|
+
normalRating: number;
|
|
1960
|
+
weightedRating: number;
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1963
|
+
wnba: {
|
|
1964
|
+
totalRatedGames: number;
|
|
1965
|
+
commentsLeft: number;
|
|
1966
|
+
avgRating: number;
|
|
1967
|
+
avgRatings: {
|
|
1968
|
+
initialWindowRating: number;
|
|
1969
|
+
normalRating: number;
|
|
1970
|
+
weightedRating: number;
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
cwc: {
|
|
1974
|
+
totalRatedGames: number;
|
|
1975
|
+
commentsLeft: number;
|
|
1976
|
+
avgRating: number;
|
|
1977
|
+
avgRatings: {
|
|
1978
|
+
initialWindowRating: number;
|
|
1979
|
+
normalRating: number;
|
|
1980
|
+
weightedRating: number;
|
|
1981
|
+
};
|
|
1982
|
+
};
|
|
1983
|
+
}, {
|
|
1984
|
+
nba: {
|
|
1985
|
+
totalRatedGames: number;
|
|
1986
|
+
commentsLeft: number;
|
|
1987
|
+
avgRating: number;
|
|
1988
|
+
avgRatings: {
|
|
1989
|
+
initialWindowRating: number;
|
|
1990
|
+
normalRating: number;
|
|
1991
|
+
weightedRating: number;
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
ncaa: {
|
|
1995
|
+
totalRatedGames: number;
|
|
1996
|
+
commentsLeft: number;
|
|
1997
|
+
avgRating: number;
|
|
1998
|
+
avgRatings: {
|
|
1999
|
+
initialWindowRating: number;
|
|
2000
|
+
normalRating: number;
|
|
2001
|
+
weightedRating: number;
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
nfl: {
|
|
2005
|
+
totalRatedGames: number;
|
|
2006
|
+
commentsLeft: number;
|
|
2007
|
+
avgRating: number;
|
|
2008
|
+
avgRatings: {
|
|
2009
|
+
initialWindowRating: number;
|
|
2010
|
+
normalRating: number;
|
|
2011
|
+
weightedRating: number;
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
nhl: {
|
|
2015
|
+
totalRatedGames: number;
|
|
2016
|
+
commentsLeft: number;
|
|
2017
|
+
avgRating: number;
|
|
2018
|
+
avgRatings: {
|
|
2019
|
+
initialWindowRating: number;
|
|
2020
|
+
normalRating: number;
|
|
2021
|
+
weightedRating: number;
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
mlb: {
|
|
2025
|
+
totalRatedGames: number;
|
|
2026
|
+
commentsLeft: number;
|
|
2027
|
+
avgRating: number;
|
|
2028
|
+
avgRatings: {
|
|
2029
|
+
initialWindowRating: number;
|
|
2030
|
+
normalRating: number;
|
|
2031
|
+
weightedRating: number;
|
|
2032
|
+
};
|
|
2033
|
+
};
|
|
2034
|
+
cbb: {
|
|
2035
|
+
totalRatedGames: number;
|
|
2036
|
+
commentsLeft: number;
|
|
2037
|
+
avgRating: number;
|
|
2038
|
+
avgRatings: {
|
|
2039
|
+
initialWindowRating: number;
|
|
2040
|
+
normalRating: number;
|
|
2041
|
+
weightedRating: number;
|
|
2042
|
+
};
|
|
2043
|
+
};
|
|
2044
|
+
cfb: {
|
|
2045
|
+
totalRatedGames: number;
|
|
2046
|
+
commentsLeft: number;
|
|
2047
|
+
avgRating: number;
|
|
2048
|
+
avgRatings: {
|
|
2049
|
+
initialWindowRating: number;
|
|
2050
|
+
normalRating: number;
|
|
2051
|
+
weightedRating: number;
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
epl: {
|
|
2055
|
+
totalRatedGames: number;
|
|
2056
|
+
commentsLeft: number;
|
|
2057
|
+
avgRating: number;
|
|
2058
|
+
avgRatings: {
|
|
2059
|
+
initialWindowRating: number;
|
|
2060
|
+
normalRating: number;
|
|
2061
|
+
weightedRating: number;
|
|
2062
|
+
};
|
|
2063
|
+
};
|
|
2064
|
+
mls: {
|
|
2065
|
+
totalRatedGames: number;
|
|
2066
|
+
commentsLeft: number;
|
|
2067
|
+
avgRating: number;
|
|
2068
|
+
avgRatings: {
|
|
2069
|
+
initialWindowRating: number;
|
|
2070
|
+
normalRating: number;
|
|
2071
|
+
weightedRating: number;
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
wnba: {
|
|
2075
|
+
totalRatedGames: number;
|
|
2076
|
+
commentsLeft: number;
|
|
2077
|
+
avgRating: number;
|
|
2078
|
+
avgRatings: {
|
|
2079
|
+
initialWindowRating: number;
|
|
2080
|
+
normalRating: number;
|
|
2081
|
+
weightedRating: number;
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
cwc: {
|
|
2085
|
+
totalRatedGames: number;
|
|
2086
|
+
commentsLeft: number;
|
|
2087
|
+
avgRating: number;
|
|
2088
|
+
avgRatings: {
|
|
2089
|
+
initialWindowRating: number;
|
|
2090
|
+
normalRating: number;
|
|
2091
|
+
weightedRating: number;
|
|
2092
|
+
};
|
|
2093
|
+
};
|
|
2094
|
+
}>>;
|
|
2095
|
+
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
2096
|
+
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
2097
|
+
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
2098
|
+
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
2099
|
+
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2100
|
+
token: z.ZodString;
|
|
2101
|
+
usedAt: z.ZodNumber;
|
|
2102
|
+
}, "strip", z.ZodTypeAny, {
|
|
2103
|
+
token: string;
|
|
2104
|
+
usedAt: number;
|
|
2105
|
+
}, {
|
|
2106
|
+
token: string;
|
|
2107
|
+
usedAt: number;
|
|
2108
|
+
}>>;
|
|
2109
|
+
askedForPushNotifications: z.ZodBoolean;
|
|
2110
|
+
acceptedPushNotifications: z.ZodBoolean;
|
|
2111
|
+
badge: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
2113
|
+
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2114
|
+
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2115
|
+
lockedGameMessageSeen: z.ZodOptional<z.ZodBoolean>;
|
|
2116
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
socialLinks: z.ZodOptional<z.ZodObject<{
|
|
2118
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
x: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
youtube: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
tiktok: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
}, "strip", z.ZodTypeAny, {
|
|
2123
|
+
instagram?: string | undefined;
|
|
2124
|
+
x?: string | undefined;
|
|
2125
|
+
youtube?: string | undefined;
|
|
2126
|
+
tiktok?: string | undefined;
|
|
2127
|
+
}, {
|
|
2128
|
+
instagram?: string | undefined;
|
|
2129
|
+
x?: string | undefined;
|
|
2130
|
+
youtube?: string | undefined;
|
|
2131
|
+
tiktok?: string | undefined;
|
|
2132
|
+
}>>;
|
|
2133
|
+
platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
|
|
2134
|
+
selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
2135
|
+
favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2136
|
+
promptedLeagues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2137
|
+
notificationSettings: z.ZodOptional<z.ZodObject<{
|
|
2138
|
+
allGames: z.ZodOptional<z.ZodBoolean>;
|
|
2139
|
+
favoriteLeagues: z.ZodOptional<z.ZodBoolean>;
|
|
2140
|
+
favoriteTeams: z.ZodOptional<z.ZodBoolean>;
|
|
2141
|
+
}, "strip", z.ZodTypeAny, {
|
|
2142
|
+
allGames?: boolean | undefined;
|
|
2143
|
+
favoriteLeagues?: boolean | undefined;
|
|
2144
|
+
favoriteTeams?: boolean | undefined;
|
|
2145
|
+
}, {
|
|
2146
|
+
allGames?: boolean | undefined;
|
|
2147
|
+
favoriteLeagues?: boolean | undefined;
|
|
2148
|
+
favoriteTeams?: boolean | undefined;
|
|
2149
|
+
}>>;
|
|
2150
|
+
spoilersEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2151
|
+
viewedChangelogs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2152
|
+
lastSelectedLeague: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
2153
|
+
lastSelectedFilter: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Today">, z.ZodLiteral<"This Week">, z.ZodLiteral<"This Season">, z.ZodLiteral<"This Month">, z.ZodLiteral<"This Year">, z.ZodLiteral<"All">, z.ZodLiteral<"All Time">, z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
|
|
2154
|
+
lastSelectedRatingFilter: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating:asc">, z.ZodLiteral<"rating:desc">, z.ZodLiteral<"createdAt:asc">, z.ZodLiteral<"createdAt:desc">, z.ZodLiteral<"userLikes:asc">, z.ZodLiteral<"userLikes:desc">]>>;
|
|
2155
|
+
lastSelectedGamesFeedType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"newest">, z.ZodLiteral<"forYou">]>>;
|
|
2156
|
+
lastSelectedCombinedFeedType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"newest">, z.ZodLiteral<"following">]>>;
|
|
2157
|
+
creatorLeague: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
2158
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Admin">, z.ZodLiteral<"Creator">]>>;
|
|
2159
|
+
preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
|
|
2160
|
+
wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
|
|
2161
|
+
isAnonymous: z.ZodOptional<z.ZodBoolean>;
|
|
2162
|
+
streak: z.ZodOptional<z.ZodObject<{
|
|
2163
|
+
current: z.ZodNumber;
|
|
2164
|
+
longest: z.ZodNumber;
|
|
2165
|
+
updatedAt: z.ZodNumber;
|
|
2166
|
+
}, "strip", z.ZodTypeAny, {
|
|
2167
|
+
current: number;
|
|
2168
|
+
updatedAt: number;
|
|
2169
|
+
longest: number;
|
|
2170
|
+
}, {
|
|
2171
|
+
current: number;
|
|
2172
|
+
updatedAt: number;
|
|
2173
|
+
longest: number;
|
|
2174
|
+
}>>;
|
|
2175
|
+
milestones: z.ZodOptional<z.ZodObject<{
|
|
2176
|
+
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2177
|
+
count: z.ZodNumber;
|
|
2178
|
+
achievedAt: z.ZodNumber;
|
|
2179
|
+
}, "strip", z.ZodTypeAny, {
|
|
2180
|
+
achievedAt: number;
|
|
2181
|
+
count: number;
|
|
2182
|
+
}, {
|
|
2183
|
+
achievedAt: number;
|
|
2184
|
+
count: number;
|
|
2185
|
+
}>, "many">>;
|
|
2186
|
+
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2187
|
+
count: z.ZodNumber;
|
|
2188
|
+
achievedAt: z.ZodNumber;
|
|
2189
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
|
+
achievedAt: number;
|
|
2191
|
+
count: number;
|
|
2192
|
+
}, {
|
|
2193
|
+
achievedAt: number;
|
|
2194
|
+
count: number;
|
|
2195
|
+
}>, "many">>;
|
|
2196
|
+
}, "strip", z.ZodTypeAny, {
|
|
2197
|
+
ratings?: {
|
|
2198
|
+
achievedAt: number;
|
|
2199
|
+
count: number;
|
|
2200
|
+
}[] | undefined;
|
|
2201
|
+
streaks?: {
|
|
2202
|
+
achievedAt: number;
|
|
2203
|
+
count: number;
|
|
2204
|
+
}[] | undefined;
|
|
2205
|
+
}, {
|
|
2206
|
+
ratings?: {
|
|
2207
|
+
achievedAt: number;
|
|
2208
|
+
count: number;
|
|
2209
|
+
}[] | undefined;
|
|
2210
|
+
streaks?: {
|
|
2211
|
+
achievedAt: number;
|
|
2212
|
+
count: number;
|
|
2213
|
+
}[] | undefined;
|
|
2214
|
+
}>>;
|
|
2215
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">]>, z.ZodObject<{
|
|
2216
|
+
id: z.ZodString;
|
|
2217
|
+
name: z.ZodString;
|
|
2218
|
+
description: z.ZodString;
|
|
2219
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
2220
|
+
tiers: z.ZodOptional<z.ZodObject<{
|
|
2221
|
+
bronze: z.ZodObject<{
|
|
2222
|
+
threshold: z.ZodNumber;
|
|
2223
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
2224
|
+
}, "strip", z.ZodTypeAny, {
|
|
2225
|
+
threshold: number;
|
|
2226
|
+
achievedAt?: number | undefined;
|
|
2227
|
+
}, {
|
|
2228
|
+
threshold: number;
|
|
2229
|
+
achievedAt?: number | undefined;
|
|
2230
|
+
}>;
|
|
2231
|
+
silver: z.ZodObject<{
|
|
2232
|
+
threshold: z.ZodNumber;
|
|
2233
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
threshold: number;
|
|
2236
|
+
achievedAt?: number | undefined;
|
|
2237
|
+
}, {
|
|
2238
|
+
threshold: number;
|
|
2239
|
+
achievedAt?: number | undefined;
|
|
2240
|
+
}>;
|
|
2241
|
+
gold: z.ZodObject<{
|
|
2242
|
+
threshold: z.ZodNumber;
|
|
2243
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
2244
|
+
}, "strip", z.ZodTypeAny, {
|
|
2245
|
+
threshold: number;
|
|
2246
|
+
achievedAt?: number | undefined;
|
|
2247
|
+
}, {
|
|
2248
|
+
threshold: number;
|
|
2249
|
+
achievedAt?: number | undefined;
|
|
2250
|
+
}>;
|
|
2251
|
+
}, "strip", z.ZodTypeAny, {
|
|
2252
|
+
bronze: {
|
|
2253
|
+
threshold: number;
|
|
2254
|
+
achievedAt?: number | undefined;
|
|
2255
|
+
};
|
|
2256
|
+
silver: {
|
|
2257
|
+
threshold: number;
|
|
2258
|
+
achievedAt?: number | undefined;
|
|
2259
|
+
};
|
|
2260
|
+
gold: {
|
|
2261
|
+
threshold: number;
|
|
2262
|
+
achievedAt?: number | undefined;
|
|
2263
|
+
};
|
|
2264
|
+
}, {
|
|
2265
|
+
bronze: {
|
|
2266
|
+
threshold: number;
|
|
2267
|
+
achievedAt?: number | undefined;
|
|
2268
|
+
};
|
|
2269
|
+
silver: {
|
|
2270
|
+
threshold: number;
|
|
2271
|
+
achievedAt?: number | undefined;
|
|
2272
|
+
};
|
|
2273
|
+
gold: {
|
|
2274
|
+
threshold: number;
|
|
2275
|
+
achievedAt?: number | undefined;
|
|
2276
|
+
};
|
|
2277
|
+
}>>;
|
|
2278
|
+
currentTier: z.ZodOptional<z.ZodNumber>;
|
|
2279
|
+
oneTimeProgress: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2280
|
+
current: z.ZodNumber;
|
|
2281
|
+
target: z.ZodNumber;
|
|
2282
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
context: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
}, "strip", z.ZodTypeAny, {
|
|
2285
|
+
target: number;
|
|
2286
|
+
current: number;
|
|
2287
|
+
label?: string | undefined;
|
|
2288
|
+
context?: string | undefined;
|
|
2289
|
+
}, {
|
|
2290
|
+
target: number;
|
|
2291
|
+
current: number;
|
|
2292
|
+
label?: string | undefined;
|
|
2293
|
+
context?: string | undefined;
|
|
2294
|
+
}>>>;
|
|
2295
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2296
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
2297
|
+
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
2298
|
+
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
2299
|
+
}, "strip", z.ZodTypeAny, {
|
|
2300
|
+
id: string;
|
|
2301
|
+
name: string;
|
|
2302
|
+
description: string;
|
|
2303
|
+
type?: "global" | "sport" | "league" | undefined;
|
|
2304
|
+
progress?: number | undefined;
|
|
2305
|
+
tiers?: {
|
|
2306
|
+
bronze: {
|
|
2307
|
+
threshold: number;
|
|
2308
|
+
achievedAt?: number | undefined;
|
|
2309
|
+
};
|
|
2310
|
+
silver: {
|
|
2311
|
+
threshold: number;
|
|
2312
|
+
achievedAt?: number | undefined;
|
|
2313
|
+
};
|
|
2314
|
+
gold: {
|
|
2315
|
+
threshold: number;
|
|
2316
|
+
achievedAt?: number | undefined;
|
|
2317
|
+
};
|
|
2318
|
+
} | undefined;
|
|
2319
|
+
currentTier?: number | undefined;
|
|
2320
|
+
oneTimeProgress?: Record<string, {
|
|
2321
|
+
target: number;
|
|
2322
|
+
current: number;
|
|
2323
|
+
label?: string | undefined;
|
|
2324
|
+
context?: string | undefined;
|
|
2325
|
+
}> | undefined;
|
|
2326
|
+
seen?: boolean | undefined;
|
|
2327
|
+
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2328
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2329
|
+
}, {
|
|
2330
|
+
id: string;
|
|
2331
|
+
name: string;
|
|
2332
|
+
description: string;
|
|
2333
|
+
type?: "global" | "sport" | "league" | undefined;
|
|
2334
|
+
progress?: number | undefined;
|
|
2335
|
+
tiers?: {
|
|
2336
|
+
bronze: {
|
|
2337
|
+
threshold: number;
|
|
2338
|
+
achievedAt?: number | undefined;
|
|
2339
|
+
};
|
|
2340
|
+
silver: {
|
|
2341
|
+
threshold: number;
|
|
2342
|
+
achievedAt?: number | undefined;
|
|
2343
|
+
};
|
|
2344
|
+
gold: {
|
|
2345
|
+
threshold: number;
|
|
2346
|
+
achievedAt?: number | undefined;
|
|
2347
|
+
};
|
|
2348
|
+
} | undefined;
|
|
2349
|
+
currentTier?: number | undefined;
|
|
2350
|
+
oneTimeProgress?: Record<string, {
|
|
2351
|
+
target: number;
|
|
2352
|
+
current: number;
|
|
2353
|
+
label?: string | undefined;
|
|
2354
|
+
context?: string | undefined;
|
|
2355
|
+
}> | undefined;
|
|
2356
|
+
seen?: boolean | undefined;
|
|
2357
|
+
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2358
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2359
|
+
}>>>;
|
|
2360
|
+
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2361
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2362
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2363
|
+
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2364
|
+
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2367
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2368
|
+
profilePicture: z.ZodBoolean;
|
|
2369
|
+
bio: z.ZodBoolean;
|
|
2370
|
+
favoriteTeam: z.ZodBoolean;
|
|
2371
|
+
pinnedRatings: z.ZodBoolean;
|
|
2372
|
+
favoriteGames: z.ZodBoolean;
|
|
2373
|
+
gradientColor: z.ZodBoolean;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
bio: boolean;
|
|
2376
|
+
profilePicture: boolean;
|
|
2377
|
+
favoriteTeam: boolean;
|
|
2378
|
+
pinnedRatings: boolean;
|
|
2379
|
+
favoriteGames: boolean;
|
|
2380
|
+
gradientColor: boolean;
|
|
2381
|
+
}, {
|
|
2382
|
+
bio: boolean;
|
|
2383
|
+
profilePicture: boolean;
|
|
2384
|
+
favoriteTeam: boolean;
|
|
2385
|
+
pinnedRatings: boolean;
|
|
2386
|
+
favoriteGames: boolean;
|
|
2387
|
+
gradientColor: boolean;
|
|
2388
|
+
}>>;
|
|
2389
|
+
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2390
|
+
id: string;
|
|
2391
|
+
email: string;
|
|
2392
|
+
username: string;
|
|
2393
|
+
avatarUrl?: string | null | undefined;
|
|
2394
|
+
badge?: string | undefined;
|
|
2395
|
+
}, {
|
|
2396
|
+
id: string;
|
|
2397
|
+
email: string;
|
|
2398
|
+
username: string;
|
|
2399
|
+
avatarUrl?: string | null | undefined;
|
|
2400
|
+
badge?: string | undefined;
|
|
2401
|
+
}>;
|
|
2402
|
+
stadium: z.ZodObject<{
|
|
2403
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2404
|
+
venueName: z.ZodString;
|
|
2405
|
+
city: z.ZodString;
|
|
2406
|
+
teams: z.ZodArray<z.ZodObject<{
|
|
2407
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2408
|
+
name: z.ZodString;
|
|
2409
|
+
image: z.ZodString;
|
|
2410
|
+
teamCode: z.ZodString;
|
|
2411
|
+
league: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>;
|
|
2412
|
+
school: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
}, "strip", z.ZodTypeAny, {
|
|
2416
|
+
name: string;
|
|
2417
|
+
image: string;
|
|
2418
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2419
|
+
teamCode: string;
|
|
2420
|
+
id?: string | undefined;
|
|
2421
|
+
stadiumUrl?: string | undefined;
|
|
2422
|
+
school?: string | undefined;
|
|
2423
|
+
city?: string | undefined;
|
|
2424
|
+
}, {
|
|
2425
|
+
name: string;
|
|
2426
|
+
image: string;
|
|
2427
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2428
|
+
teamCode: string;
|
|
2429
|
+
id?: string | undefined;
|
|
2430
|
+
stadiumUrl?: string | undefined;
|
|
2431
|
+
school?: string | undefined;
|
|
2432
|
+
city?: string | undefined;
|
|
2433
|
+
}>, "many">;
|
|
2434
|
+
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2435
|
+
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2436
|
+
}, "strip", z.ZodTypeAny, {
|
|
2437
|
+
city: string;
|
|
2438
|
+
venueName: string;
|
|
2439
|
+
teams: {
|
|
2440
|
+
name: string;
|
|
2441
|
+
image: string;
|
|
2442
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2443
|
+
teamCode: string;
|
|
2444
|
+
id?: string | undefined;
|
|
2445
|
+
stadiumUrl?: string | undefined;
|
|
2446
|
+
school?: string | undefined;
|
|
2447
|
+
city?: string | undefined;
|
|
2448
|
+
}[];
|
|
2449
|
+
id?: string | undefined;
|
|
2450
|
+
teamIds?: string[] | undefined;
|
|
2451
|
+
teamLeagues?: string[] | undefined;
|
|
2452
|
+
}, {
|
|
2453
|
+
city: string;
|
|
2454
|
+
venueName: string;
|
|
2455
|
+
teams: {
|
|
2456
|
+
name: string;
|
|
2457
|
+
image: string;
|
|
2458
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2459
|
+
teamCode: string;
|
|
2460
|
+
id?: string | undefined;
|
|
2461
|
+
stadiumUrl?: string | undefined;
|
|
2462
|
+
school?: string | undefined;
|
|
2463
|
+
city?: string | undefined;
|
|
2464
|
+
}[];
|
|
2465
|
+
id?: string | undefined;
|
|
2466
|
+
teamIds?: string[] | undefined;
|
|
2467
|
+
teamLeagues?: string[] | undefined;
|
|
2468
|
+
}>;
|
|
2469
|
+
gamesAttended: z.ZodOptional<z.ZodNumber>;
|
|
2470
|
+
type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
|
|
2471
|
+
game: z.ZodOptional<z.ZodObject<{
|
|
2472
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
round: z.ZodOptional<z.ZodNumber>;
|
|
2474
|
+
league: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>;
|
|
2475
|
+
homeTeam: z.ZodObject<{
|
|
2476
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
apiTeamId: z.ZodNumber;
|
|
2478
|
+
name: z.ZodString;
|
|
2479
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2480
|
+
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2481
|
+
image: z.ZodString;
|
|
2482
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2483
|
+
teamCode: z.ZodOptional<z.ZodString>;
|
|
2484
|
+
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2485
|
+
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
school: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
2489
|
+
}, "strip", z.ZodTypeAny, {
|
|
2490
|
+
name: string;
|
|
2491
|
+
image: string;
|
|
2492
|
+
apiTeamId: number;
|
|
2493
|
+
id?: string | undefined;
|
|
2494
|
+
score?: number | undefined;
|
|
2495
|
+
isWinner?: boolean | undefined;
|
|
2496
|
+
seed?: number | undefined;
|
|
2497
|
+
teamCode?: string | undefined;
|
|
2498
|
+
scoreExtraTime?: number | undefined;
|
|
2499
|
+
stadiumUrl?: string | undefined;
|
|
2500
|
+
school?: string | undefined;
|
|
2501
|
+
city?: string | undefined;
|
|
2502
|
+
venueName?: string | undefined;
|
|
2503
|
+
}, {
|
|
2504
|
+
name: string;
|
|
2505
|
+
image: string;
|
|
2506
|
+
apiTeamId: number;
|
|
2507
|
+
id?: string | undefined;
|
|
2508
|
+
score?: number | undefined;
|
|
2509
|
+
isWinner?: boolean | undefined;
|
|
2510
|
+
seed?: number | undefined;
|
|
2511
|
+
teamCode?: string | undefined;
|
|
2512
|
+
scoreExtraTime?: number | undefined;
|
|
2513
|
+
stadiumUrl?: string | undefined;
|
|
2514
|
+
school?: string | undefined;
|
|
2515
|
+
city?: string | undefined;
|
|
2516
|
+
venueName?: string | undefined;
|
|
2517
|
+
}>;
|
|
2518
|
+
awayTeam: z.ZodObject<{
|
|
2519
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
apiTeamId: z.ZodNumber;
|
|
2521
|
+
name: z.ZodString;
|
|
2522
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2523
|
+
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2524
|
+
image: z.ZodString;
|
|
2525
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2526
|
+
teamCode: z.ZodOptional<z.ZodString>;
|
|
2527
|
+
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2528
|
+
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
school: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2531
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
2532
|
+
}, "strip", z.ZodTypeAny, {
|
|
2533
|
+
name: string;
|
|
2534
|
+
image: string;
|
|
2535
|
+
apiTeamId: number;
|
|
2536
|
+
id?: string | undefined;
|
|
2537
|
+
score?: number | undefined;
|
|
2538
|
+
isWinner?: boolean | undefined;
|
|
2539
|
+
seed?: number | undefined;
|
|
2540
|
+
teamCode?: string | undefined;
|
|
2541
|
+
scoreExtraTime?: number | undefined;
|
|
2542
|
+
stadiumUrl?: string | undefined;
|
|
2543
|
+
school?: string | undefined;
|
|
2544
|
+
city?: string | undefined;
|
|
2545
|
+
venueName?: string | undefined;
|
|
2546
|
+
}, {
|
|
2547
|
+
name: string;
|
|
2548
|
+
image: string;
|
|
2549
|
+
apiTeamId: number;
|
|
2550
|
+
id?: string | undefined;
|
|
2551
|
+
score?: number | undefined;
|
|
2552
|
+
isWinner?: boolean | undefined;
|
|
2553
|
+
seed?: number | undefined;
|
|
2554
|
+
teamCode?: string | undefined;
|
|
2555
|
+
scoreExtraTime?: number | undefined;
|
|
2556
|
+
stadiumUrl?: string | undefined;
|
|
2557
|
+
school?: string | undefined;
|
|
2558
|
+
city?: string | undefined;
|
|
2559
|
+
venueName?: string | undefined;
|
|
2560
|
+
}>;
|
|
2561
|
+
seriesInfo: z.ZodOptional<z.ZodObject<{
|
|
2562
|
+
homeTeamWins: z.ZodNumber;
|
|
2563
|
+
awayTeamWins: z.ZodNumber;
|
|
2564
|
+
gameNumber: z.ZodNumber;
|
|
2565
|
+
maxLength: z.ZodNumber;
|
|
2566
|
+
}, "strip", z.ZodTypeAny, {
|
|
2567
|
+
maxLength: number;
|
|
2568
|
+
homeTeamWins: number;
|
|
2569
|
+
awayTeamWins: number;
|
|
2570
|
+
gameNumber: number;
|
|
2571
|
+
}, {
|
|
2572
|
+
maxLength: number;
|
|
2573
|
+
homeTeamWins: number;
|
|
2574
|
+
awayTeamWins: number;
|
|
2575
|
+
gameNumber: number;
|
|
2576
|
+
}>>;
|
|
2577
|
+
week: z.ZodOptional<z.ZodNumber>;
|
|
2578
|
+
seasonType: z.ZodOptional<z.ZodNumber>;
|
|
2579
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
2580
|
+
roundName: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
}, "strip", z.ZodTypeAny, {
|
|
2582
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2583
|
+
homeTeam: {
|
|
2584
|
+
name: string;
|
|
2585
|
+
image: string;
|
|
2586
|
+
apiTeamId: number;
|
|
2587
|
+
id?: string | undefined;
|
|
2588
|
+
score?: number | undefined;
|
|
2589
|
+
isWinner?: boolean | undefined;
|
|
2590
|
+
seed?: number | undefined;
|
|
2591
|
+
teamCode?: string | undefined;
|
|
2592
|
+
scoreExtraTime?: number | undefined;
|
|
2593
|
+
stadiumUrl?: string | undefined;
|
|
2594
|
+
school?: string | undefined;
|
|
2595
|
+
city?: string | undefined;
|
|
2596
|
+
venueName?: string | undefined;
|
|
2597
|
+
};
|
|
2598
|
+
awayTeam: {
|
|
2599
|
+
name: string;
|
|
2600
|
+
image: string;
|
|
2601
|
+
apiTeamId: number;
|
|
2602
|
+
id?: string | undefined;
|
|
2603
|
+
score?: number | undefined;
|
|
2604
|
+
isWinner?: boolean | undefined;
|
|
2605
|
+
seed?: number | undefined;
|
|
2606
|
+
teamCode?: string | undefined;
|
|
2607
|
+
scoreExtraTime?: number | undefined;
|
|
2608
|
+
stadiumUrl?: string | undefined;
|
|
2609
|
+
school?: string | undefined;
|
|
2610
|
+
city?: string | undefined;
|
|
2611
|
+
venueName?: string | undefined;
|
|
2612
|
+
};
|
|
2613
|
+
id?: string | undefined;
|
|
2614
|
+
round?: number | undefined;
|
|
2615
|
+
week?: number | undefined;
|
|
2616
|
+
startedAt?: number | undefined;
|
|
2617
|
+
seriesInfo?: {
|
|
2618
|
+
maxLength: number;
|
|
2619
|
+
homeTeamWins: number;
|
|
2620
|
+
awayTeamWins: number;
|
|
2621
|
+
gameNumber: number;
|
|
2622
|
+
} | undefined;
|
|
2623
|
+
seasonType?: number | undefined;
|
|
2624
|
+
roundName?: string | undefined;
|
|
2625
|
+
}, {
|
|
2626
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2627
|
+
homeTeam: {
|
|
2628
|
+
name: string;
|
|
2629
|
+
image: string;
|
|
2630
|
+
apiTeamId: number;
|
|
2631
|
+
id?: string | undefined;
|
|
2632
|
+
score?: number | undefined;
|
|
2633
|
+
isWinner?: boolean | undefined;
|
|
2634
|
+
seed?: number | undefined;
|
|
2635
|
+
teamCode?: string | undefined;
|
|
2636
|
+
scoreExtraTime?: number | undefined;
|
|
2637
|
+
stadiumUrl?: string | undefined;
|
|
2638
|
+
school?: string | undefined;
|
|
2639
|
+
city?: string | undefined;
|
|
2640
|
+
venueName?: string | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
awayTeam: {
|
|
2643
|
+
name: string;
|
|
2644
|
+
image: string;
|
|
2645
|
+
apiTeamId: number;
|
|
2646
|
+
id?: string | undefined;
|
|
2647
|
+
score?: number | undefined;
|
|
2648
|
+
isWinner?: boolean | undefined;
|
|
2649
|
+
seed?: number | undefined;
|
|
2650
|
+
teamCode?: string | undefined;
|
|
2651
|
+
scoreExtraTime?: number | undefined;
|
|
2652
|
+
stadiumUrl?: string | undefined;
|
|
2653
|
+
school?: string | undefined;
|
|
2654
|
+
city?: string | undefined;
|
|
2655
|
+
venueName?: string | undefined;
|
|
2656
|
+
};
|
|
2657
|
+
id?: string | undefined;
|
|
2658
|
+
round?: number | undefined;
|
|
2659
|
+
week?: number | undefined;
|
|
2660
|
+
startedAt?: number | undefined;
|
|
2661
|
+
seriesInfo?: {
|
|
2662
|
+
maxLength: number;
|
|
2663
|
+
homeTeamWins: number;
|
|
2664
|
+
awayTeamWins: number;
|
|
2665
|
+
gameNumber: number;
|
|
2666
|
+
} | undefined;
|
|
2667
|
+
seasonType?: number | undefined;
|
|
2668
|
+
roundName?: string | undefined;
|
|
2669
|
+
}>>;
|
|
2670
|
+
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
2671
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2672
|
+
edited: z.ZodOptional<z.ZodBoolean>;
|
|
2673
|
+
userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2674
|
+
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
2675
|
+
type: "stadium" | "game";
|
|
2676
|
+
user: {
|
|
2677
|
+
id: string;
|
|
2678
|
+
email: string;
|
|
2679
|
+
username: string;
|
|
2680
|
+
avatarUrl?: string | null | undefined;
|
|
2681
|
+
badge?: string | undefined;
|
|
2682
|
+
};
|
|
2683
|
+
rating: number;
|
|
2684
|
+
stadium: {
|
|
2685
|
+
city: string;
|
|
2686
|
+
venueName: string;
|
|
2687
|
+
teams: {
|
|
2688
|
+
name: string;
|
|
2689
|
+
image: string;
|
|
2690
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2691
|
+
teamCode: string;
|
|
2692
|
+
id?: string | undefined;
|
|
2693
|
+
stadiumUrl?: string | undefined;
|
|
2694
|
+
school?: string | undefined;
|
|
2695
|
+
city?: string | undefined;
|
|
2696
|
+
}[];
|
|
2697
|
+
id?: string | undefined;
|
|
2698
|
+
teamIds?: string[] | undefined;
|
|
2699
|
+
teamLeagues?: string[] | undefined;
|
|
2700
|
+
};
|
|
2701
|
+
updatedAt?: number | undefined;
|
|
2702
|
+
comment?: string | undefined;
|
|
2703
|
+
game?: {
|
|
2704
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2705
|
+
homeTeam: {
|
|
2706
|
+
name: string;
|
|
2707
|
+
image: string;
|
|
2708
|
+
apiTeamId: number;
|
|
2709
|
+
id?: string | undefined;
|
|
2710
|
+
score?: number | undefined;
|
|
2711
|
+
isWinner?: boolean | undefined;
|
|
2712
|
+
seed?: number | undefined;
|
|
2713
|
+
teamCode?: string | undefined;
|
|
2714
|
+
scoreExtraTime?: number | undefined;
|
|
2715
|
+
stadiumUrl?: string | undefined;
|
|
2716
|
+
school?: string | undefined;
|
|
2717
|
+
city?: string | undefined;
|
|
2718
|
+
venueName?: string | undefined;
|
|
2719
|
+
};
|
|
2720
|
+
awayTeam: {
|
|
2721
|
+
name: string;
|
|
2722
|
+
image: string;
|
|
2723
|
+
apiTeamId: number;
|
|
2724
|
+
id?: string | undefined;
|
|
2725
|
+
score?: number | undefined;
|
|
2726
|
+
isWinner?: boolean | undefined;
|
|
2727
|
+
seed?: number | undefined;
|
|
2728
|
+
teamCode?: string | undefined;
|
|
2729
|
+
scoreExtraTime?: number | undefined;
|
|
2730
|
+
stadiumUrl?: string | undefined;
|
|
2731
|
+
school?: string | undefined;
|
|
2732
|
+
city?: string | undefined;
|
|
2733
|
+
venueName?: string | undefined;
|
|
2734
|
+
};
|
|
2735
|
+
id?: string | undefined;
|
|
2736
|
+
round?: number | undefined;
|
|
2737
|
+
week?: number | undefined;
|
|
2738
|
+
startedAt?: number | undefined;
|
|
2739
|
+
seriesInfo?: {
|
|
2740
|
+
maxLength: number;
|
|
2741
|
+
homeTeamWins: number;
|
|
2742
|
+
awayTeamWins: number;
|
|
2743
|
+
gameNumber: number;
|
|
2744
|
+
} | undefined;
|
|
2745
|
+
seasonType?: number | undefined;
|
|
2746
|
+
roundName?: string | undefined;
|
|
2747
|
+
} | undefined;
|
|
2748
|
+
userLikes?: number | undefined;
|
|
2749
|
+
edited?: boolean | undefined;
|
|
2750
|
+
userLocation?: string | null | undefined;
|
|
2751
|
+
gamesAttended?: number | undefined;
|
|
2752
|
+
}, {
|
|
2753
|
+
type: "stadium" | "game";
|
|
2754
|
+
user: {
|
|
2755
|
+
id: string;
|
|
2756
|
+
email: string;
|
|
2757
|
+
username: string;
|
|
2758
|
+
avatarUrl?: string | null | undefined;
|
|
2759
|
+
badge?: string | undefined;
|
|
2760
|
+
};
|
|
2761
|
+
rating: number;
|
|
2762
|
+
stadium: {
|
|
2763
|
+
city: string;
|
|
2764
|
+
venueName: string;
|
|
2765
|
+
teams: {
|
|
2766
|
+
name: string;
|
|
2767
|
+
image: string;
|
|
2768
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2769
|
+
teamCode: string;
|
|
2770
|
+
id?: string | undefined;
|
|
2771
|
+
stadiumUrl?: string | undefined;
|
|
2772
|
+
school?: string | undefined;
|
|
2773
|
+
city?: string | undefined;
|
|
2774
|
+
}[];
|
|
2775
|
+
id?: string | undefined;
|
|
2776
|
+
teamIds?: string[] | undefined;
|
|
2777
|
+
teamLeagues?: string[] | undefined;
|
|
2778
|
+
};
|
|
2779
|
+
updatedAt?: number | undefined;
|
|
2780
|
+
comment?: string | undefined;
|
|
2781
|
+
game?: {
|
|
2782
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
2783
|
+
homeTeam: {
|
|
2784
|
+
name: string;
|
|
2785
|
+
image: string;
|
|
2786
|
+
apiTeamId: number;
|
|
2787
|
+
id?: string | undefined;
|
|
2788
|
+
score?: number | undefined;
|
|
2789
|
+
isWinner?: boolean | undefined;
|
|
2790
|
+
seed?: number | undefined;
|
|
2791
|
+
teamCode?: string | undefined;
|
|
2792
|
+
scoreExtraTime?: number | undefined;
|
|
2793
|
+
stadiumUrl?: string | undefined;
|
|
2794
|
+
school?: string | undefined;
|
|
2795
|
+
city?: string | undefined;
|
|
2796
|
+
venueName?: string | undefined;
|
|
2797
|
+
};
|
|
2798
|
+
awayTeam: {
|
|
2799
|
+
name: string;
|
|
2800
|
+
image: string;
|
|
2801
|
+
apiTeamId: number;
|
|
2802
|
+
id?: string | undefined;
|
|
2803
|
+
score?: number | undefined;
|
|
2804
|
+
isWinner?: boolean | undefined;
|
|
2805
|
+
seed?: number | undefined;
|
|
2806
|
+
teamCode?: string | undefined;
|
|
2807
|
+
scoreExtraTime?: number | undefined;
|
|
2808
|
+
stadiumUrl?: string | undefined;
|
|
2809
|
+
school?: string | undefined;
|
|
2810
|
+
city?: string | undefined;
|
|
2811
|
+
venueName?: string | undefined;
|
|
2812
|
+
};
|
|
2813
|
+
id?: string | undefined;
|
|
2814
|
+
round?: number | undefined;
|
|
2815
|
+
week?: number | undefined;
|
|
2816
|
+
startedAt?: number | undefined;
|
|
2817
|
+
seriesInfo?: {
|
|
2818
|
+
maxLength: number;
|
|
2819
|
+
homeTeamWins: number;
|
|
2820
|
+
awayTeamWins: number;
|
|
2821
|
+
gameNumber: number;
|
|
2822
|
+
} | undefined;
|
|
2823
|
+
seasonType?: number | undefined;
|
|
2824
|
+
roundName?: string | undefined;
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
userLikes?: number | undefined;
|
|
2827
|
+
edited?: boolean | undefined;
|
|
2828
|
+
userLocation?: string | null | undefined;
|
|
2829
|
+
gamesAttended?: number | undefined;
|
|
2830
|
+
}>;
|