rategame-shared 1.0.57 → 1.0.58

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.
@@ -82,6 +82,7 @@ export declare const nbaGameSchema: z.ZodObject<{
82
82
  }>;
83
83
  timeRemainingMinutes: z.ZodNumber;
84
84
  timeRemainingSeconds: z.ZodNumber;
85
+ round: z.ZodUnion<[z.ZodLiteral<"quarters">, z.ZodLiteral<"semis">, z.ZodLiteral<"conference">, z.ZodLiteral<"finals">]>;
85
86
  quarters: z.ZodArray<z.ZodObject<{
86
87
  awayScore: z.ZodNumber;
87
88
  homeScore: z.ZodNumber;
@@ -138,6 +139,7 @@ export declare const nbaGameSchema: z.ZodObject<{
138
139
  }>;
139
140
  userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
140
141
  }, "strip", z.ZodTypeAny, {
142
+ round: "quarters" | "conference" | "semis" | "finals";
141
143
  status: "live" | "scheduled" | "final";
142
144
  quarters: {
143
145
  number: number;
@@ -183,6 +185,7 @@ export declare const nbaGameSchema: z.ZodObject<{
183
185
  id?: string | undefined;
184
186
  userIds?: string[] | undefined;
185
187
  }, {
188
+ round: "quarters" | "conference" | "semis" | "finals";
186
189
  status: "live" | "scheduled" | "final";
187
190
  quarters: {
188
191
  number: number;
@@ -31,6 +31,12 @@ exports.nbaGameSchema = zod_1.z.object({
31
31
  awayTeam: team_1.nbaTeamSchema,
32
32
  timeRemainingMinutes: zod_1.z.number(),
33
33
  timeRemainingSeconds: zod_1.z.number(),
34
+ round: zod_1.z.union([
35
+ zod_1.z.literal("quarters"),
36
+ zod_1.z.literal("semis"),
37
+ zod_1.z.literal("conference"),
38
+ zod_1.z.literal("finals"),
39
+ ]),
34
40
  quarters: exports.quartersSchema,
35
41
  seriesInfo: exports.seriesInfoSchema,
36
42
  rating: game_1.gameRatingAggregateSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
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",