rategame-shared 1.0.59 → 1.0.60

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.
@@ -34,7 +34,7 @@ export declare const nbaGameSchema: z.ZodObject<{
34
34
  isClosed: z.ZodBoolean;
35
35
  startedAt: z.ZodNumber;
36
36
  finishedAt: z.ZodNumber;
37
- ratingWindowClosedAt: z.ZodNumber;
37
+ ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
38
38
  apiGameId: z.ZodNumber;
39
39
  homeTeam: z.ZodObject<{
40
40
  id: z.ZodOptional<z.ZodString>;
@@ -149,7 +149,6 @@ export declare const nbaGameSchema: z.ZodObject<{
149
149
  isClosed: boolean;
150
150
  startedAt: number;
151
151
  finishedAt: number;
152
- ratingWindowClosedAt: number;
153
152
  apiGameId: number;
154
153
  homeTeam: {
155
154
  name: string;
@@ -176,6 +175,7 @@ export declare const nbaGameSchema: z.ZodObject<{
176
175
  gameNumber: number;
177
176
  };
178
177
  id?: string | undefined;
178
+ ratingWindowClosedAt?: number | undefined;
179
179
  rating?: {
180
180
  avg: number;
181
181
  votes: {
@@ -195,7 +195,6 @@ export declare const nbaGameSchema: z.ZodObject<{
195
195
  isClosed: boolean;
196
196
  startedAt: number;
197
197
  finishedAt: number;
198
- ratingWindowClosedAt: number;
199
198
  apiGameId: number;
200
199
  homeTeam: {
201
200
  name: string;
@@ -222,6 +221,7 @@ export declare const nbaGameSchema: z.ZodObject<{
222
221
  gameNumber: number;
223
222
  };
224
223
  id?: string | undefined;
224
+ ratingWindowClosedAt?: number | undefined;
225
225
  rating?: {
226
226
  avg: number;
227
227
  votes: {
@@ -25,7 +25,7 @@ exports.nbaGameSchema = zod_1.z.object({
25
25
  isClosed: zod_1.z.boolean(),
26
26
  startedAt: zod_1.z.number(),
27
27
  finishedAt: zod_1.z.number(),
28
- ratingWindowClosedAt: zod_1.z.number(),
28
+ ratingWindowClosedAt: zod_1.z.number().optional(),
29
29
  apiGameId: zod_1.z.number(),
30
30
  homeTeam: team_1.nbaTeamSchema,
31
31
  awayTeam: team_1.nbaTeamSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
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",