rategame-shared 1.1.5 → 1.1.7
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/schemas/game.d.ts
CHANGED
|
@@ -820,17 +820,26 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
820
820
|
wins: z.ZodNumber;
|
|
821
821
|
losses: z.ZodNumber;
|
|
822
822
|
saves: z.ZodNumber;
|
|
823
|
+
games: z.ZodNumber;
|
|
824
|
+
isWinningPitcher: z.ZodBoolean;
|
|
825
|
+
isLosingPitcher: z.ZodBoolean;
|
|
823
826
|
}, "strip", z.ZodTypeAny, {
|
|
824
827
|
name: string;
|
|
825
828
|
wins: number;
|
|
826
829
|
losses: number;
|
|
827
830
|
saves: number;
|
|
831
|
+
games: number;
|
|
832
|
+
isWinningPitcher: boolean;
|
|
833
|
+
isLosingPitcher: boolean;
|
|
828
834
|
id?: string | undefined;
|
|
829
835
|
}, {
|
|
830
836
|
name: string;
|
|
831
837
|
wins: number;
|
|
832
838
|
losses: number;
|
|
833
839
|
saves: number;
|
|
840
|
+
games: number;
|
|
841
|
+
isWinningPitcher: boolean;
|
|
842
|
+
isLosingPitcher: boolean;
|
|
834
843
|
id?: string | undefined;
|
|
835
844
|
}>>;
|
|
836
845
|
winningPitcher: z.ZodOptional<z.ZodObject<{
|
|
@@ -839,17 +848,26 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
839
848
|
wins: z.ZodNumber;
|
|
840
849
|
losses: z.ZodNumber;
|
|
841
850
|
saves: z.ZodNumber;
|
|
851
|
+
games: z.ZodNumber;
|
|
852
|
+
isWinningPitcher: z.ZodBoolean;
|
|
853
|
+
isLosingPitcher: z.ZodBoolean;
|
|
842
854
|
}, "strip", z.ZodTypeAny, {
|
|
843
855
|
name: string;
|
|
844
856
|
wins: number;
|
|
845
857
|
losses: number;
|
|
846
858
|
saves: number;
|
|
859
|
+
games: number;
|
|
860
|
+
isWinningPitcher: boolean;
|
|
861
|
+
isLosingPitcher: boolean;
|
|
847
862
|
id?: string | undefined;
|
|
848
863
|
}, {
|
|
849
864
|
name: string;
|
|
850
865
|
wins: number;
|
|
851
866
|
losses: number;
|
|
852
867
|
saves: number;
|
|
868
|
+
games: number;
|
|
869
|
+
isWinningPitcher: boolean;
|
|
870
|
+
isLosingPitcher: boolean;
|
|
853
871
|
id?: string | undefined;
|
|
854
872
|
}>>;
|
|
855
873
|
savingPitcher: z.ZodOptional<z.ZodObject<{
|
|
@@ -858,17 +876,26 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
858
876
|
wins: z.ZodNumber;
|
|
859
877
|
losses: z.ZodNumber;
|
|
860
878
|
saves: z.ZodNumber;
|
|
879
|
+
games: z.ZodNumber;
|
|
880
|
+
isWinningPitcher: z.ZodBoolean;
|
|
881
|
+
isLosingPitcher: z.ZodBoolean;
|
|
861
882
|
}, "strip", z.ZodTypeAny, {
|
|
862
883
|
name: string;
|
|
863
884
|
wins: number;
|
|
864
885
|
losses: number;
|
|
865
886
|
saves: number;
|
|
887
|
+
games: number;
|
|
888
|
+
isWinningPitcher: boolean;
|
|
889
|
+
isLosingPitcher: boolean;
|
|
866
890
|
id?: string | undefined;
|
|
867
891
|
}, {
|
|
868
892
|
name: string;
|
|
869
893
|
wins: number;
|
|
870
894
|
losses: number;
|
|
871
895
|
saves: number;
|
|
896
|
+
games: number;
|
|
897
|
+
isWinningPitcher: boolean;
|
|
898
|
+
isLosingPitcher: boolean;
|
|
872
899
|
id?: string | undefined;
|
|
873
900
|
}>>;
|
|
874
901
|
outs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -924,6 +951,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
924
951
|
wins: number;
|
|
925
952
|
losses: number;
|
|
926
953
|
saves: number;
|
|
954
|
+
games: number;
|
|
955
|
+
isWinningPitcher: boolean;
|
|
956
|
+
isLosingPitcher: boolean;
|
|
927
957
|
id?: string | undefined;
|
|
928
958
|
} | undefined;
|
|
929
959
|
winningPitcher?: {
|
|
@@ -931,6 +961,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
931
961
|
wins: number;
|
|
932
962
|
losses: number;
|
|
933
963
|
saves: number;
|
|
964
|
+
games: number;
|
|
965
|
+
isWinningPitcher: boolean;
|
|
966
|
+
isLosingPitcher: boolean;
|
|
934
967
|
id?: string | undefined;
|
|
935
968
|
} | undefined;
|
|
936
969
|
savingPitcher?: {
|
|
@@ -938,6 +971,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
938
971
|
wins: number;
|
|
939
972
|
losses: number;
|
|
940
973
|
saves: number;
|
|
974
|
+
games: number;
|
|
975
|
+
isWinningPitcher: boolean;
|
|
976
|
+
isLosingPitcher: boolean;
|
|
941
977
|
id?: string | undefined;
|
|
942
978
|
} | undefined;
|
|
943
979
|
outs?: number | undefined;
|
|
@@ -993,6 +1029,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
993
1029
|
wins: number;
|
|
994
1030
|
losses: number;
|
|
995
1031
|
saves: number;
|
|
1032
|
+
games: number;
|
|
1033
|
+
isWinningPitcher: boolean;
|
|
1034
|
+
isLosingPitcher: boolean;
|
|
996
1035
|
id?: string | undefined;
|
|
997
1036
|
} | undefined;
|
|
998
1037
|
winningPitcher?: {
|
|
@@ -1000,6 +1039,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1000
1039
|
wins: number;
|
|
1001
1040
|
losses: number;
|
|
1002
1041
|
saves: number;
|
|
1042
|
+
games: number;
|
|
1043
|
+
isWinningPitcher: boolean;
|
|
1044
|
+
isLosingPitcher: boolean;
|
|
1003
1045
|
id?: string | undefined;
|
|
1004
1046
|
} | undefined;
|
|
1005
1047
|
savingPitcher?: {
|
|
@@ -1007,6 +1049,9 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1007
1049
|
wins: number;
|
|
1008
1050
|
losses: number;
|
|
1009
1051
|
saves: number;
|
|
1052
|
+
games: number;
|
|
1053
|
+
isWinningPitcher: boolean;
|
|
1054
|
+
isLosingPitcher: boolean;
|
|
1010
1055
|
id?: string | undefined;
|
|
1011
1056
|
} | undefined;
|
|
1012
1057
|
outs?: number | undefined;
|
|
@@ -1352,17 +1397,26 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1352
1397
|
wins: z.ZodNumber;
|
|
1353
1398
|
losses: z.ZodNumber;
|
|
1354
1399
|
saves: z.ZodNumber;
|
|
1400
|
+
games: z.ZodNumber;
|
|
1401
|
+
isWinningPitcher: z.ZodBoolean;
|
|
1402
|
+
isLosingPitcher: z.ZodBoolean;
|
|
1355
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1356
1404
|
name: string;
|
|
1357
1405
|
wins: number;
|
|
1358
1406
|
losses: number;
|
|
1359
1407
|
saves: number;
|
|
1408
|
+
games: number;
|
|
1409
|
+
isWinningPitcher: boolean;
|
|
1410
|
+
isLosingPitcher: boolean;
|
|
1360
1411
|
id?: string | undefined;
|
|
1361
1412
|
}, {
|
|
1362
1413
|
name: string;
|
|
1363
1414
|
wins: number;
|
|
1364
1415
|
losses: number;
|
|
1365
1416
|
saves: number;
|
|
1417
|
+
games: number;
|
|
1418
|
+
isWinningPitcher: boolean;
|
|
1419
|
+
isLosingPitcher: boolean;
|
|
1366
1420
|
id?: string | undefined;
|
|
1367
1421
|
}>>;
|
|
1368
1422
|
winningPitcher: z.ZodOptional<z.ZodObject<{
|
|
@@ -1371,17 +1425,26 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1371
1425
|
wins: z.ZodNumber;
|
|
1372
1426
|
losses: z.ZodNumber;
|
|
1373
1427
|
saves: z.ZodNumber;
|
|
1428
|
+
games: z.ZodNumber;
|
|
1429
|
+
isWinningPitcher: z.ZodBoolean;
|
|
1430
|
+
isLosingPitcher: z.ZodBoolean;
|
|
1374
1431
|
}, "strip", z.ZodTypeAny, {
|
|
1375
1432
|
name: string;
|
|
1376
1433
|
wins: number;
|
|
1377
1434
|
losses: number;
|
|
1378
1435
|
saves: number;
|
|
1436
|
+
games: number;
|
|
1437
|
+
isWinningPitcher: boolean;
|
|
1438
|
+
isLosingPitcher: boolean;
|
|
1379
1439
|
id?: string | undefined;
|
|
1380
1440
|
}, {
|
|
1381
1441
|
name: string;
|
|
1382
1442
|
wins: number;
|
|
1383
1443
|
losses: number;
|
|
1384
1444
|
saves: number;
|
|
1445
|
+
games: number;
|
|
1446
|
+
isWinningPitcher: boolean;
|
|
1447
|
+
isLosingPitcher: boolean;
|
|
1385
1448
|
id?: string | undefined;
|
|
1386
1449
|
}>>;
|
|
1387
1450
|
savingPitcher: z.ZodOptional<z.ZodObject<{
|
|
@@ -1390,17 +1453,26 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1390
1453
|
wins: z.ZodNumber;
|
|
1391
1454
|
losses: z.ZodNumber;
|
|
1392
1455
|
saves: z.ZodNumber;
|
|
1456
|
+
games: z.ZodNumber;
|
|
1457
|
+
isWinningPitcher: z.ZodBoolean;
|
|
1458
|
+
isLosingPitcher: z.ZodBoolean;
|
|
1393
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1394
1460
|
name: string;
|
|
1395
1461
|
wins: number;
|
|
1396
1462
|
losses: number;
|
|
1397
1463
|
saves: number;
|
|
1464
|
+
games: number;
|
|
1465
|
+
isWinningPitcher: boolean;
|
|
1466
|
+
isLosingPitcher: boolean;
|
|
1398
1467
|
id?: string | undefined;
|
|
1399
1468
|
}, {
|
|
1400
1469
|
name: string;
|
|
1401
1470
|
wins: number;
|
|
1402
1471
|
losses: number;
|
|
1403
1472
|
saves: number;
|
|
1473
|
+
games: number;
|
|
1474
|
+
isWinningPitcher: boolean;
|
|
1475
|
+
isLosingPitcher: boolean;
|
|
1404
1476
|
id?: string | undefined;
|
|
1405
1477
|
}>>;
|
|
1406
1478
|
outs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1456,6 +1528,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1456
1528
|
wins: number;
|
|
1457
1529
|
losses: number;
|
|
1458
1530
|
saves: number;
|
|
1531
|
+
games: number;
|
|
1532
|
+
isWinningPitcher: boolean;
|
|
1533
|
+
isLosingPitcher: boolean;
|
|
1459
1534
|
id?: string | undefined;
|
|
1460
1535
|
} | undefined;
|
|
1461
1536
|
winningPitcher?: {
|
|
@@ -1463,6 +1538,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1463
1538
|
wins: number;
|
|
1464
1539
|
losses: number;
|
|
1465
1540
|
saves: number;
|
|
1541
|
+
games: number;
|
|
1542
|
+
isWinningPitcher: boolean;
|
|
1543
|
+
isLosingPitcher: boolean;
|
|
1466
1544
|
id?: string | undefined;
|
|
1467
1545
|
} | undefined;
|
|
1468
1546
|
savingPitcher?: {
|
|
@@ -1470,6 +1548,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1470
1548
|
wins: number;
|
|
1471
1549
|
losses: number;
|
|
1472
1550
|
saves: number;
|
|
1551
|
+
games: number;
|
|
1552
|
+
isWinningPitcher: boolean;
|
|
1553
|
+
isLosingPitcher: boolean;
|
|
1473
1554
|
id?: string | undefined;
|
|
1474
1555
|
} | undefined;
|
|
1475
1556
|
outs?: number | undefined;
|
|
@@ -1525,6 +1606,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1525
1606
|
wins: number;
|
|
1526
1607
|
losses: number;
|
|
1527
1608
|
saves: number;
|
|
1609
|
+
games: number;
|
|
1610
|
+
isWinningPitcher: boolean;
|
|
1611
|
+
isLosingPitcher: boolean;
|
|
1528
1612
|
id?: string | undefined;
|
|
1529
1613
|
} | undefined;
|
|
1530
1614
|
winningPitcher?: {
|
|
@@ -1532,6 +1616,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1532
1616
|
wins: number;
|
|
1533
1617
|
losses: number;
|
|
1534
1618
|
saves: number;
|
|
1619
|
+
games: number;
|
|
1620
|
+
isWinningPitcher: boolean;
|
|
1621
|
+
isLosingPitcher: boolean;
|
|
1535
1622
|
id?: string | undefined;
|
|
1536
1623
|
} | undefined;
|
|
1537
1624
|
savingPitcher?: {
|
|
@@ -1539,6 +1626,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1539
1626
|
wins: number;
|
|
1540
1627
|
losses: number;
|
|
1541
1628
|
saves: number;
|
|
1629
|
+
games: number;
|
|
1630
|
+
isWinningPitcher: boolean;
|
|
1631
|
+
isLosingPitcher: boolean;
|
|
1542
1632
|
id?: string | undefined;
|
|
1543
1633
|
} | undefined;
|
|
1544
1634
|
outs?: number | undefined;
|
package/dist/schemas/player.d.ts
CHANGED
|
@@ -5,16 +5,25 @@ export declare const mlbPlayerSchema: z.ZodObject<{
|
|
|
5
5
|
wins: z.ZodNumber;
|
|
6
6
|
losses: z.ZodNumber;
|
|
7
7
|
saves: z.ZodNumber;
|
|
8
|
+
games: z.ZodNumber;
|
|
9
|
+
isWinningPitcher: z.ZodBoolean;
|
|
10
|
+
isLosingPitcher: z.ZodBoolean;
|
|
8
11
|
}, "strip", z.ZodTypeAny, {
|
|
9
12
|
name: string;
|
|
10
13
|
wins: number;
|
|
11
14
|
losses: number;
|
|
12
15
|
saves: number;
|
|
16
|
+
games: number;
|
|
17
|
+
isWinningPitcher: boolean;
|
|
18
|
+
isLosingPitcher: boolean;
|
|
13
19
|
id?: string | undefined;
|
|
14
20
|
}, {
|
|
15
21
|
name: string;
|
|
16
22
|
wins: number;
|
|
17
23
|
losses: number;
|
|
18
24
|
saves: number;
|
|
25
|
+
games: number;
|
|
26
|
+
isWinningPitcher: boolean;
|
|
27
|
+
isLosingPitcher: boolean;
|
|
19
28
|
id?: string | undefined;
|
|
20
29
|
}>;
|
package/dist/schemas/player.js
CHANGED
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
24
24
|
}>;
|
|
25
25
|
game: import("zod").ZodObject<{
|
|
26
26
|
id: import("zod").ZodString;
|
|
27
|
-
round: import("zod").ZodNumber
|
|
27
|
+
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
28
28
|
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"mlb">]>;
|
|
29
29
|
homeTeam: import("zod").ZodObject<{
|
|
30
30
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -94,7 +94,6 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
94
94
|
}>>;
|
|
95
95
|
}, "strip", import("zod").ZodTypeAny, {
|
|
96
96
|
id: string;
|
|
97
|
-
round: number;
|
|
98
97
|
league: "nba" | "ncaa" | "mlb";
|
|
99
98
|
homeTeam: {
|
|
100
99
|
name: string;
|
|
@@ -114,6 +113,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
114
113
|
isWinner?: boolean | undefined;
|
|
115
114
|
seed?: number | undefined;
|
|
116
115
|
};
|
|
116
|
+
round?: number | undefined;
|
|
117
117
|
seriesInfo?: {
|
|
118
118
|
maxLength: number;
|
|
119
119
|
homeTeamWins: number;
|
|
@@ -122,7 +122,6 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
id: string;
|
|
125
|
-
round: number;
|
|
126
125
|
league: "nba" | "ncaa" | "mlb";
|
|
127
126
|
homeTeam: {
|
|
128
127
|
name: string;
|
|
@@ -142,6 +141,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
142
141
|
isWinner?: boolean | undefined;
|
|
143
142
|
seed?: number | undefined;
|
|
144
143
|
};
|
|
144
|
+
round?: number | undefined;
|
|
145
145
|
seriesInfo?: {
|
|
146
146
|
maxLength: number;
|
|
147
147
|
homeTeamWins: number;
|
|
@@ -163,7 +163,6 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
163
163
|
rating: number;
|
|
164
164
|
game: {
|
|
165
165
|
id: string;
|
|
166
|
-
round: number;
|
|
167
166
|
league: "nba" | "ncaa" | "mlb";
|
|
168
167
|
homeTeam: {
|
|
169
168
|
name: string;
|
|
@@ -183,6 +182,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
183
182
|
isWinner?: boolean | undefined;
|
|
184
183
|
seed?: number | undefined;
|
|
185
184
|
};
|
|
185
|
+
round?: number | undefined;
|
|
186
186
|
seriesInfo?: {
|
|
187
187
|
maxLength: number;
|
|
188
188
|
homeTeamWins: number;
|
|
@@ -205,7 +205,6 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
205
205
|
rating: number;
|
|
206
206
|
game: {
|
|
207
207
|
id: string;
|
|
208
|
-
round: number;
|
|
209
208
|
league: "nba" | "ncaa" | "mlb";
|
|
210
209
|
homeTeam: {
|
|
211
210
|
name: string;
|
|
@@ -225,6 +224,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
225
224
|
isWinner?: boolean | undefined;
|
|
226
225
|
seed?: number | undefined;
|
|
227
226
|
};
|
|
227
|
+
round?: number | undefined;
|
|
228
228
|
seriesInfo?: {
|
|
229
229
|
maxLength: number;
|
|
230
230
|
homeTeamWins: number;
|
|
@@ -373,7 +373,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
373
373
|
}>;
|
|
374
374
|
game: import("zod").ZodObject<{
|
|
375
375
|
id: import("zod").ZodString;
|
|
376
|
-
round: import("zod").ZodNumber
|
|
376
|
+
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
377
377
|
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"mlb">]>;
|
|
378
378
|
homeTeam: import("zod").ZodObject<{
|
|
379
379
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -443,7 +443,6 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
443
443
|
}>>;
|
|
444
444
|
}, "strip", import("zod").ZodTypeAny, {
|
|
445
445
|
id: string;
|
|
446
|
-
round: number;
|
|
447
446
|
league: "nba" | "ncaa" | "mlb";
|
|
448
447
|
homeTeam: {
|
|
449
448
|
name: string;
|
|
@@ -463,6 +462,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
463
462
|
isWinner?: boolean | undefined;
|
|
464
463
|
seed?: number | undefined;
|
|
465
464
|
};
|
|
465
|
+
round?: number | undefined;
|
|
466
466
|
seriesInfo?: {
|
|
467
467
|
maxLength: number;
|
|
468
468
|
homeTeamWins: number;
|
|
@@ -471,7 +471,6 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
471
471
|
} | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
id: string;
|
|
474
|
-
round: number;
|
|
475
474
|
league: "nba" | "ncaa" | "mlb";
|
|
476
475
|
homeTeam: {
|
|
477
476
|
name: string;
|
|
@@ -491,6 +490,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
491
490
|
isWinner?: boolean | undefined;
|
|
492
491
|
seed?: number | undefined;
|
|
493
492
|
};
|
|
493
|
+
round?: number | undefined;
|
|
494
494
|
seriesInfo?: {
|
|
495
495
|
maxLength: number;
|
|
496
496
|
homeTeamWins: number;
|
|
@@ -502,7 +502,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
502
502
|
}, "id" | "user" | "createdAt">, {
|
|
503
503
|
game: import("zod").ZodObject<Omit<{
|
|
504
504
|
id: import("zod").ZodString;
|
|
505
|
-
round: import("zod").ZodNumber
|
|
505
|
+
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
506
506
|
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"mlb">]>;
|
|
507
507
|
homeTeam: import("zod").ZodObject<{
|
|
508
508
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -17,7 +17,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
17
17
|
}),
|
|
18
18
|
game: (0, zod_1.object)({
|
|
19
19
|
id: (0, zod_1.string)(),
|
|
20
|
-
round: (0, zod_1.number)(),
|
|
20
|
+
round: (0, zod_1.number)().optional(),
|
|
21
21
|
league: (0, zod_1.union)([(0, zod_1.literal)("ncaa"), (0, zod_1.literal)("nba"), (0, zod_1.literal)("mlb")]),
|
|
22
22
|
homeTeam: game_1.gameTeamSchema,
|
|
23
23
|
awayTeam: game_1.gameTeamSchema,
|