rategame-shared 1.0.70 → 1.0.71

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.
@@ -68,7 +68,7 @@ export declare const seriesInfoSchema: z.ZodObject<{
68
68
  export declare const gameSchema: z.ZodObject<{
69
69
  id: z.ZodOptional<z.ZodString>;
70
70
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
71
- isClosed: z.ZodBoolean;
71
+ isClosed: z.ZodOptional<z.ZodBoolean>;
72
72
  startedAt: z.ZodNumber;
73
73
  finishedAt: z.ZodNumber;
74
74
  ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
@@ -186,7 +186,6 @@ export declare const gameSchema: z.ZodObject<{
186
186
  }, "strip", z.ZodTypeAny, {
187
187
  round: number;
188
188
  status: "live" | "scheduled" | "final";
189
- isClosed: boolean;
190
189
  startedAt: number;
191
190
  finishedAt: number;
192
191
  apiGameId: number;
@@ -219,6 +218,7 @@ export declare const gameSchema: z.ZodObject<{
219
218
  periodType: "quarter" | "half";
220
219
  periodDuration: number;
221
220
  id?: string | undefined;
221
+ isClosed?: boolean | undefined;
222
222
  ratingWindowClosedAt?: number | undefined;
223
223
  seriesInfo?: {
224
224
  maxLength: number;
@@ -236,7 +236,6 @@ export declare const gameSchema: z.ZodObject<{
236
236
  }, {
237
237
  round: number;
238
238
  status: "live" | "scheduled" | "final";
239
- isClosed: boolean;
240
239
  startedAt: number;
241
240
  finishedAt: number;
242
241
  apiGameId: number;
@@ -269,6 +268,7 @@ export declare const gameSchema: z.ZodObject<{
269
268
  periodType: "quarter" | "half";
270
269
  periodDuration: number;
271
270
  id?: string | undefined;
271
+ isClosed?: boolean | undefined;
272
272
  ratingWindowClosedAt?: number | undefined;
273
273
  seriesInfo?: {
274
274
  maxLength: number;
@@ -31,7 +31,7 @@ exports.gameSchema = zod_1.z.object({
31
31
  zod_1.z.literal("live"),
32
32
  zod_1.z.literal("final"),
33
33
  ]),
34
- isClosed: zod_1.z.boolean(),
34
+ isClosed: zod_1.z.boolean().optional(),
35
35
  startedAt: zod_1.z.number(),
36
36
  finishedAt: zod_1.z.number(),
37
37
  ratingWindowClosedAt: zod_1.z.number().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
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",