rategame-shared 1.1.23 → 1.1.24
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 +3 -3
- package/dist/schemas/game.js +2 -0
- package/package.json +1 -1
package/dist/schemas/game.d.ts
CHANGED
|
@@ -1480,13 +1480,13 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
1480
1480
|
q: z.ZodOptional<z.ZodString>;
|
|
1481
1481
|
teamId: z.ZodOptional<z.ZodString>;
|
|
1482
1482
|
round: z.ZodOptional<z.ZodString>;
|
|
1483
|
-
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">]>;
|
|
1483
|
+
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">]>;
|
|
1484
1484
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
|
|
1485
1485
|
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating.avg:asc">, z.ZodLiteral<"rating.avg:desc">, z.ZodLiteral<"startedAt:asc">, z.ZodLiteral<"startedAt:desc">]>>;
|
|
1486
1486
|
limit: z.ZodOptional<z.ZodString>;
|
|
1487
1487
|
offset: z.ZodOptional<z.ZodString>;
|
|
1488
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
-
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
1489
|
+
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb";
|
|
1490
1490
|
q?: string | undefined;
|
|
1491
1491
|
teamId?: string | undefined;
|
|
1492
1492
|
round?: string | undefined;
|
|
@@ -1495,7 +1495,7 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
1495
1495
|
limit?: string | undefined;
|
|
1496
1496
|
offset?: string | undefined;
|
|
1497
1497
|
}, {
|
|
1498
|
-
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
1498
|
+
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb";
|
|
1499
1499
|
q?: string | undefined;
|
|
1500
1500
|
teamId?: string | undefined;
|
|
1501
1501
|
round?: string | undefined;
|
package/dist/schemas/game.js
CHANGED
|
@@ -160,6 +160,8 @@ exports.searchGameSchema = zod_1.z.object({
|
|
|
160
160
|
zod_1.z.literal("nfl"),
|
|
161
161
|
zod_1.z.literal("nhl"),
|
|
162
162
|
zod_1.z.literal("mls"),
|
|
163
|
+
zod_1.z.literal("cfb"),
|
|
164
|
+
zod_1.z.literal("cbb"),
|
|
163
165
|
]),
|
|
164
166
|
createdAt: zod_1.z
|
|
165
167
|
.union([zod_1.z.literal("12h"), zod_1.z.literal("daily"), zod_1.z.literal("weekly")])
|