rategame-shared 1.1.56 → 1.1.57
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 +6 -4
- package/dist/schemas/game.js +1 -0
- package/package.json +1 -1
package/dist/schemas/game.d.ts
CHANGED
|
@@ -1483,6 +1483,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1483
1483
|
};
|
|
1484
1484
|
}>>;
|
|
1485
1485
|
}, {
|
|
1486
|
+
apiGameId: z.ZodString;
|
|
1486
1487
|
seasonType: z.ZodNumber;
|
|
1487
1488
|
season: z.ZodNumber;
|
|
1488
1489
|
week: z.ZodNumber;
|
|
@@ -1543,7 +1544,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1543
1544
|
week: number;
|
|
1544
1545
|
startedAt: number;
|
|
1545
1546
|
finishedAt: number;
|
|
1546
|
-
apiGameId:
|
|
1547
|
+
apiGameId: string;
|
|
1547
1548
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
1548
1549
|
homeTeam: {
|
|
1549
1550
|
name: string;
|
|
@@ -1619,7 +1620,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1619
1620
|
week: number;
|
|
1620
1621
|
startedAt: number;
|
|
1621
1622
|
finishedAt: number;
|
|
1622
|
-
apiGameId:
|
|
1623
|
+
apiGameId: string;
|
|
1623
1624
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
1624
1625
|
homeTeam: {
|
|
1625
1626
|
name: string;
|
|
@@ -2646,6 +2647,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2646
2647
|
};
|
|
2647
2648
|
}>>;
|
|
2648
2649
|
}, {
|
|
2650
|
+
apiGameId: z.ZodString;
|
|
2649
2651
|
seasonType: z.ZodNumber;
|
|
2650
2652
|
season: z.ZodNumber;
|
|
2651
2653
|
week: z.ZodNumber;
|
|
@@ -2706,7 +2708,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2706
2708
|
week: number;
|
|
2707
2709
|
startedAt: number;
|
|
2708
2710
|
finishedAt: number;
|
|
2709
|
-
apiGameId:
|
|
2711
|
+
apiGameId: string;
|
|
2710
2712
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
2711
2713
|
homeTeam: {
|
|
2712
2714
|
name: string;
|
|
@@ -2782,7 +2784,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2782
2784
|
week: number;
|
|
2783
2785
|
startedAt: number;
|
|
2784
2786
|
finishedAt: number;
|
|
2785
|
-
apiGameId:
|
|
2787
|
+
apiGameId: string;
|
|
2786
2788
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
2787
2789
|
homeTeam: {
|
|
2788
2790
|
name: string;
|
package/dist/schemas/game.js
CHANGED
|
@@ -163,6 +163,7 @@ const nflStadiumSchema = zod_1.z.object({
|
|
|
163
163
|
Type: zod_1.z.string().nullable(),
|
|
164
164
|
});
|
|
165
165
|
exports.nflGameSchema = exports.commonGameSchema.extend({
|
|
166
|
+
apiGameId: zod_1.z.string(),
|
|
166
167
|
seasonType: zod_1.z.number(),
|
|
167
168
|
season: zod_1.z.number(),
|
|
168
169
|
week: zod_1.z.number(),
|