rategame-shared 1.1.76 → 1.1.78
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
CHANGED
|
@@ -4335,6 +4335,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4335
4335
|
timeRemainingMinutes: z.ZodNumber;
|
|
4336
4336
|
timeRemainingSeconds: z.ZodNumber;
|
|
4337
4337
|
periods: z.ZodArray<z.ZodAny, "many">;
|
|
4338
|
+
hadShootout: z.ZodBoolean;
|
|
4338
4339
|
}>, "strip", z.ZodTypeAny, {
|
|
4339
4340
|
status: "live" | "scheduled" | "final";
|
|
4340
4341
|
startedAt: number;
|
|
@@ -4371,6 +4372,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4371
4372
|
period: string;
|
|
4372
4373
|
seasonType: number;
|
|
4373
4374
|
season: string;
|
|
4375
|
+
hadShootout: boolean;
|
|
4374
4376
|
id?: string | undefined;
|
|
4375
4377
|
isClosed?: boolean | undefined;
|
|
4376
4378
|
ratingWindowClosedAt?: number | undefined;
|
|
@@ -4454,6 +4456,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4454
4456
|
period: string;
|
|
4455
4457
|
seasonType: number;
|
|
4456
4458
|
season: string;
|
|
4459
|
+
hadShootout: boolean;
|
|
4457
4460
|
id?: string | undefined;
|
|
4458
4461
|
isClosed?: boolean | undefined;
|
|
4459
4462
|
ratingWindowClosedAt?: number | undefined;
|
|
@@ -7654,6 +7657,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
7654
7657
|
timeRemainingMinutes: z.ZodNumber;
|
|
7655
7658
|
timeRemainingSeconds: z.ZodNumber;
|
|
7656
7659
|
periods: z.ZodArray<z.ZodAny, "many">;
|
|
7660
|
+
hadShootout: z.ZodBoolean;
|
|
7657
7661
|
}>, "strip", z.ZodTypeAny, {
|
|
7658
7662
|
status: "live" | "scheduled" | "final";
|
|
7659
7663
|
startedAt: number;
|
|
@@ -7690,6 +7694,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
7690
7694
|
period: string;
|
|
7691
7695
|
seasonType: number;
|
|
7692
7696
|
season: string;
|
|
7697
|
+
hadShootout: boolean;
|
|
7693
7698
|
id?: string | undefined;
|
|
7694
7699
|
isClosed?: boolean | undefined;
|
|
7695
7700
|
ratingWindowClosedAt?: number | undefined;
|
|
@@ -7773,6 +7778,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
7773
7778
|
period: string;
|
|
7774
7779
|
seasonType: number;
|
|
7775
7780
|
season: string;
|
|
7781
|
+
hadShootout: boolean;
|
|
7776
7782
|
id?: string | undefined;
|
|
7777
7783
|
isClosed?: boolean | undefined;
|
|
7778
7784
|
ratingWindowClosedAt?: number | undefined;
|
package/dist/schemas/game.js
CHANGED
|
@@ -248,7 +248,8 @@ exports.nhlGameSchema = exports.commonGameSchema.extend({
|
|
|
248
248
|
period: zod_1.z.string(),
|
|
249
249
|
timeRemainingMinutes: zod_1.z.number(),
|
|
250
250
|
timeRemainingSeconds: zod_1.z.number(),
|
|
251
|
-
periods: zod_1.z.array(zod_1.z.any()),
|
|
251
|
+
periods: zod_1.z.array(zod_1.z.any()),
|
|
252
|
+
hadShootout: zod_1.z.boolean(),
|
|
252
253
|
});
|
|
253
254
|
exports.unionGameSchema = zod_1.z.union([
|
|
254
255
|
exports.basketballGameSchema,
|
|
@@ -141,6 +141,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
141
141
|
gameNumber: number;
|
|
142
142
|
}>>;
|
|
143
143
|
week: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
seasonType: z.ZodOptional<z.ZodNumber>;
|
|
144
145
|
}, "strip", z.ZodTypeAny, {
|
|
145
146
|
id: string;
|
|
146
147
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -176,6 +177,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
176
177
|
awayTeamWins: number;
|
|
177
178
|
gameNumber: number;
|
|
178
179
|
} | undefined;
|
|
180
|
+
seasonType?: number | undefined;
|
|
179
181
|
}, {
|
|
180
182
|
id: string;
|
|
181
183
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -211,6 +213,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
211
213
|
awayTeamWins: number;
|
|
212
214
|
gameNumber: number;
|
|
213
215
|
} | undefined;
|
|
216
|
+
seasonType?: number | undefined;
|
|
214
217
|
}>;
|
|
215
218
|
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
216
219
|
isInitialWindowRating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -262,6 +265,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
262
265
|
awayTeamWins: number;
|
|
263
266
|
gameNumber: number;
|
|
264
267
|
} | undefined;
|
|
268
|
+
seasonType?: number | undefined;
|
|
265
269
|
};
|
|
266
270
|
weightedRating?: number | undefined;
|
|
267
271
|
comment?: string | undefined;
|
|
@@ -314,6 +318,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
314
318
|
awayTeamWins: number;
|
|
315
319
|
gameNumber: number;
|
|
316
320
|
} | undefined;
|
|
321
|
+
seasonType?: number | undefined;
|
|
317
322
|
};
|
|
318
323
|
weightedRating?: number | undefined;
|
|
319
324
|
comment?: string | undefined;
|
|
@@ -383,6 +388,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
383
388
|
awayTeamWins: number;
|
|
384
389
|
gameNumber: number;
|
|
385
390
|
} | undefined;
|
|
391
|
+
seasonType?: number | undefined;
|
|
386
392
|
};
|
|
387
393
|
weightedRating?: number | undefined;
|
|
388
394
|
comment?: string | undefined;
|
|
@@ -453,6 +459,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
453
459
|
awayTeamWins: number;
|
|
454
460
|
gameNumber: number;
|
|
455
461
|
} | undefined;
|
|
462
|
+
seasonType?: number | undefined;
|
|
456
463
|
};
|
|
457
464
|
weightedRating?: number | undefined;
|
|
458
465
|
comment?: string | undefined;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
111
111
|
gameNumber: number;
|
|
112
112
|
}>>;
|
|
113
113
|
week: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
114
|
+
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
114
115
|
}, "strip", import("zod").ZodTypeAny, {
|
|
115
116
|
id: string;
|
|
116
117
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -146,6 +147,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
146
147
|
awayTeamWins: number;
|
|
147
148
|
gameNumber: number;
|
|
148
149
|
} | undefined;
|
|
150
|
+
seasonType?: number | undefined;
|
|
149
151
|
}, {
|
|
150
152
|
id: string;
|
|
151
153
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -181,6 +183,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
181
183
|
awayTeamWins: number;
|
|
182
184
|
gameNumber: number;
|
|
183
185
|
} | undefined;
|
|
186
|
+
seasonType?: number | undefined;
|
|
184
187
|
}>;
|
|
185
188
|
userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
186
189
|
isInitialWindowRating: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -232,6 +235,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
232
235
|
awayTeamWins: number;
|
|
233
236
|
gameNumber: number;
|
|
234
237
|
} | undefined;
|
|
238
|
+
seasonType?: number | undefined;
|
|
235
239
|
};
|
|
236
240
|
weightedRating?: number | undefined;
|
|
237
241
|
comment?: string | undefined;
|
|
@@ -284,6 +288,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
284
288
|
awayTeamWins: number;
|
|
285
289
|
gameNumber: number;
|
|
286
290
|
} | undefined;
|
|
291
|
+
seasonType?: number | undefined;
|
|
287
292
|
};
|
|
288
293
|
weightedRating?: number | undefined;
|
|
289
294
|
comment?: string | undefined;
|
|
@@ -522,6 +527,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
522
527
|
gameNumber: number;
|
|
523
528
|
}>>;
|
|
524
529
|
week: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
530
|
+
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
525
531
|
}, "strip", import("zod").ZodTypeAny, {
|
|
526
532
|
id: string;
|
|
527
533
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -557,6 +563,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
557
563
|
awayTeamWins: number;
|
|
558
564
|
gameNumber: number;
|
|
559
565
|
} | undefined;
|
|
566
|
+
seasonType?: number | undefined;
|
|
560
567
|
}, {
|
|
561
568
|
id: string;
|
|
562
569
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -592,6 +599,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
592
599
|
awayTeamWins: number;
|
|
593
600
|
gameNumber: number;
|
|
594
601
|
} | undefined;
|
|
602
|
+
seasonType?: number | undefined;
|
|
595
603
|
}>;
|
|
596
604
|
userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
597
605
|
isInitialWindowRating: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -687,6 +695,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
687
695
|
gameNumber: number;
|
|
688
696
|
}>>;
|
|
689
697
|
week: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
698
|
+
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
690
699
|
}, "round" | "homeTeam" | "awayTeam">, "strip", import("zod").ZodTypeAny, {
|
|
691
700
|
id: string;
|
|
692
701
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -697,6 +706,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
697
706
|
awayTeamWins: number;
|
|
698
707
|
gameNumber: number;
|
|
699
708
|
} | undefined;
|
|
709
|
+
seasonType?: number | undefined;
|
|
700
710
|
}, {
|
|
701
711
|
id: string;
|
|
702
712
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
@@ -707,6 +717,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
707
717
|
awayTeamWins: number;
|
|
708
718
|
gameNumber: number;
|
|
709
719
|
} | undefined;
|
|
720
|
+
seasonType?: number | undefined;
|
|
710
721
|
}>;
|
|
711
722
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
712
723
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
@@ -721,6 +732,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
721
732
|
awayTeamWins: number;
|
|
722
733
|
gameNumber: number;
|
|
723
734
|
} | undefined;
|
|
735
|
+
seasonType?: number | undefined;
|
|
724
736
|
};
|
|
725
737
|
id?: string | undefined;
|
|
726
738
|
weightedRating?: number | undefined;
|
|
@@ -740,6 +752,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
740
752
|
awayTeamWins: number;
|
|
741
753
|
gameNumber: number;
|
|
742
754
|
} | undefined;
|
|
755
|
+
seasonType?: number | undefined;
|
|
743
756
|
};
|
|
744
757
|
id?: string | undefined;
|
|
745
758
|
weightedRating?: number | undefined;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -34,6 +34,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
34
34
|
awayTeam: game_1.gameTeamSchema,
|
|
35
35
|
seriesInfo: game_1.seriesInfoSchema.optional(),
|
|
36
36
|
week: (0, zod_1.number)().optional(),
|
|
37
|
+
seasonType: (0, zod_1.number)().optional(),
|
|
37
38
|
}),
|
|
38
39
|
userLikes: (0, zod_1.number)().optional(),
|
|
39
40
|
isInitialWindowRating: (0, zod_1.boolean)().optional(),
|