rategame-shared 1.0.93 → 1.0.94

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.
@@ -74,7 +74,7 @@ export declare const gameSchema: z.ZodObject<{
74
74
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
75
75
  round: z.ZodNumber;
76
76
  apiGameId: z.ZodNumber;
77
- league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">]>;
77
+ league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">]>;
78
78
  homeTeam: z.ZodObject<{
79
79
  id: z.ZodOptional<z.ZodString>;
80
80
  apiTeamId: z.ZodNumber;
@@ -189,7 +189,7 @@ export declare const gameSchema: z.ZodObject<{
189
189
  startedAt: number;
190
190
  finishedAt: number;
191
191
  apiGameId: number;
192
- league: "nba" | "ncaa";
192
+ league: "nba" | "ncaa" | "mlb";
193
193
  homeTeam: {
194
194
  name: string;
195
195
  image: string;
@@ -239,7 +239,7 @@ export declare const gameSchema: z.ZodObject<{
239
239
  startedAt: number;
240
240
  finishedAt: number;
241
241
  apiGameId: number;
242
- league: "nba" | "ncaa";
242
+ league: "nba" | "ncaa" | "mlb";
243
243
  homeTeam: {
244
244
  name: string;
245
245
  image: string;
@@ -38,7 +38,7 @@ exports.gameSchema = zod_1.z.object({
38
38
  ratingWindowClosedAt: zod_1.z.number().optional(),
39
39
  round: zod_1.z.number(),
40
40
  apiGameId: zod_1.z.number(),
41
- league: zod_1.z.union([zod_1.z.literal("ncaa"), zod_1.z.literal("nba")]),
41
+ league: zod_1.z.union([zod_1.z.literal("ncaa"), zod_1.z.literal("nba"), zod_1.z.literal("mlb")]),
42
42
  homeTeam: exports.gameTeamSchema,
43
43
  awayTeam: exports.gameTeamSchema,
44
44
  timeRemainingMinutes: zod_1.z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
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",