rategame-shared 1.1.401 → 1.1.403
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/models/game.d.ts +2 -1
- package/dist/schemas/chat.d.ts +15 -0
- package/dist/schemas/experience.d.ts +12 -0
- package/dist/schemas/game.d.ts +680 -0
- package/dist/schemas/game.js +9 -1
- package/dist/schemas/list.d.ts +15 -0
- package/dist/schemas/moderation.d.ts +12 -0
- package/dist/schemas/pick.d.ts +1530 -0
- package/dist/schemas/rating.d.ts +9 -0
- package/dist/schemas/scorePrediction.d.ts +1185 -0
- package/dist/schemas/stadium.d.ts +12 -0
- package/dist/schemas/trivia.d.ts +15 -0
- package/dist/schemas/user.d.ts +13 -0
- package/dist/schemas/user.js +1 -0
- package/dist/schemas/userEvent.d.ts +9 -0
- package/dist/schemas/voting.d.ts +267 -0
- package/package.json +1 -1
package/dist/models/game.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { basketballGameSchema, cfbGameSchema, commonGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, groupedRatingAggregateSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, overviewSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
2
|
+
import { basketballGameSchema, broadcastSchema, cfbGameSchema, commonGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, groupedRatingAggregateSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, overviewSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
3
3
|
import { sportType } from "../schemas/sharedTypes";
|
|
4
4
|
export type Game = z.infer<typeof gameSchema>;
|
|
5
5
|
export type BasketballGame = z.infer<typeof basketballGameSchema>;
|
|
@@ -12,6 +12,7 @@ export type FootballGame = z.infer<typeof footballGameSchema>;
|
|
|
12
12
|
export type NFLGame = z.infer<typeof nflGameSchema>;
|
|
13
13
|
export type CFBGame = z.infer<typeof cfbGameSchema>;
|
|
14
14
|
export type NHLGame = z.infer<typeof nhlGameSchema>;
|
|
15
|
+
export type Broadcast = z.infer<typeof broadcastSchema>;
|
|
15
16
|
export type CreatorPick = z.infer<typeof creatorPickSchema>;
|
|
16
17
|
export type WeightedRatingAggregate = z.infer<typeof weightedRatingAggregateSchema>;
|
|
17
18
|
export type WeightedRatingAggregateOptions = z.infer<typeof weightedRatingAggregateOptionsSchema>;
|
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -827,14 +827,17 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
827
827
|
current: z.ZodNumber;
|
|
828
828
|
longest: z.ZodNumber;
|
|
829
829
|
updatedAt: z.ZodNumber;
|
|
830
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
830
831
|
}, "strip", z.ZodTypeAny, {
|
|
831
832
|
current: number;
|
|
832
833
|
updatedAt: number;
|
|
833
834
|
longest: number;
|
|
835
|
+
timeZone?: string | undefined;
|
|
834
836
|
}, {
|
|
835
837
|
current: number;
|
|
836
838
|
updatedAt: number;
|
|
837
839
|
longest: number;
|
|
840
|
+
timeZone?: string | undefined;
|
|
838
841
|
}>>;
|
|
839
842
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
840
843
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1990,14 +1993,17 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1990
1993
|
current: z.ZodNumber;
|
|
1991
1994
|
longest: z.ZodNumber;
|
|
1992
1995
|
updatedAt: z.ZodNumber;
|
|
1996
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1993
1997
|
}, "strip", z.ZodTypeAny, {
|
|
1994
1998
|
current: number;
|
|
1995
1999
|
updatedAt: number;
|
|
1996
2000
|
longest: number;
|
|
2001
|
+
timeZone?: string | undefined;
|
|
1997
2002
|
}, {
|
|
1998
2003
|
current: number;
|
|
1999
2004
|
updatedAt: number;
|
|
2000
2005
|
longest: number;
|
|
2006
|
+
timeZone?: string | undefined;
|
|
2001
2007
|
}>>;
|
|
2002
2008
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
2003
2009
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3209,14 +3215,17 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
3209
3215
|
current: z.ZodNumber;
|
|
3210
3216
|
longest: z.ZodNumber;
|
|
3211
3217
|
updatedAt: z.ZodNumber;
|
|
3218
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3212
3219
|
}, "strip", z.ZodTypeAny, {
|
|
3213
3220
|
current: number;
|
|
3214
3221
|
updatedAt: number;
|
|
3215
3222
|
longest: number;
|
|
3223
|
+
timeZone?: string | undefined;
|
|
3216
3224
|
}, {
|
|
3217
3225
|
current: number;
|
|
3218
3226
|
updatedAt: number;
|
|
3219
3227
|
longest: number;
|
|
3228
|
+
timeZone?: string | undefined;
|
|
3220
3229
|
}>>;
|
|
3221
3230
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
3222
3231
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4371,14 +4380,17 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
4371
4380
|
current: z.ZodNumber;
|
|
4372
4381
|
longest: z.ZodNumber;
|
|
4373
4382
|
updatedAt: z.ZodNumber;
|
|
4383
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
4374
4384
|
}, "strip", z.ZodTypeAny, {
|
|
4375
4385
|
current: number;
|
|
4376
4386
|
updatedAt: number;
|
|
4377
4387
|
longest: number;
|
|
4388
|
+
timeZone?: string | undefined;
|
|
4378
4389
|
}, {
|
|
4379
4390
|
current: number;
|
|
4380
4391
|
updatedAt: number;
|
|
4381
4392
|
longest: number;
|
|
4393
|
+
timeZone?: string | undefined;
|
|
4382
4394
|
}>>;
|
|
4383
4395
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
4384
4396
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5585,14 +5597,17 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
5585
5597
|
current: z.ZodNumber;
|
|
5586
5598
|
longest: z.ZodNumber;
|
|
5587
5599
|
updatedAt: z.ZodNumber;
|
|
5600
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
5588
5601
|
}, "strip", z.ZodTypeAny, {
|
|
5589
5602
|
current: number;
|
|
5590
5603
|
updatedAt: number;
|
|
5591
5604
|
longest: number;
|
|
5605
|
+
timeZone?: string | undefined;
|
|
5592
5606
|
}, {
|
|
5593
5607
|
current: number;
|
|
5594
5608
|
updatedAt: number;
|
|
5595
5609
|
longest: number;
|
|
5610
|
+
timeZone?: string | undefined;
|
|
5596
5611
|
}>>;
|
|
5597
5612
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
5598
5613
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -966,14 +966,17 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
966
966
|
current: z.ZodNumber;
|
|
967
967
|
longest: z.ZodNumber;
|
|
968
968
|
updatedAt: z.ZodNumber;
|
|
969
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
969
970
|
}, "strip", z.ZodTypeAny, {
|
|
970
971
|
current: number;
|
|
971
972
|
updatedAt: number;
|
|
972
973
|
longest: number;
|
|
974
|
+
timeZone?: string | undefined;
|
|
973
975
|
}, {
|
|
974
976
|
current: number;
|
|
975
977
|
updatedAt: number;
|
|
976
978
|
longest: number;
|
|
979
|
+
timeZone?: string | undefined;
|
|
977
980
|
}>>;
|
|
978
981
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
979
982
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2387,14 +2390,17 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2387
2390
|
current: z.ZodNumber;
|
|
2388
2391
|
longest: z.ZodNumber;
|
|
2389
2392
|
updatedAt: z.ZodNumber;
|
|
2393
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
2390
2394
|
}, "strip", z.ZodTypeAny, {
|
|
2391
2395
|
current: number;
|
|
2392
2396
|
updatedAt: number;
|
|
2393
2397
|
longest: number;
|
|
2398
|
+
timeZone?: string | undefined;
|
|
2394
2399
|
}, {
|
|
2395
2400
|
current: number;
|
|
2396
2401
|
updatedAt: number;
|
|
2397
2402
|
longest: number;
|
|
2403
|
+
timeZone?: string | undefined;
|
|
2398
2404
|
}>>;
|
|
2399
2405
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
2400
2406
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3808,14 +3814,17 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
3808
3814
|
current: z.ZodNumber;
|
|
3809
3815
|
longest: z.ZodNumber;
|
|
3810
3816
|
updatedAt: z.ZodNumber;
|
|
3817
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3811
3818
|
}, "strip", z.ZodTypeAny, {
|
|
3812
3819
|
current: number;
|
|
3813
3820
|
updatedAt: number;
|
|
3814
3821
|
longest: number;
|
|
3822
|
+
timeZone?: string | undefined;
|
|
3815
3823
|
}, {
|
|
3816
3824
|
current: number;
|
|
3817
3825
|
updatedAt: number;
|
|
3818
3826
|
longest: number;
|
|
3827
|
+
timeZone?: string | undefined;
|
|
3819
3828
|
}>>;
|
|
3820
3829
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
3821
3830
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4968,14 +4977,17 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
4968
4977
|
current: z.ZodNumber;
|
|
4969
4978
|
longest: z.ZodNumber;
|
|
4970
4979
|
updatedAt: z.ZodNumber;
|
|
4980
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
4971
4981
|
}, "strip", z.ZodTypeAny, {
|
|
4972
4982
|
current: number;
|
|
4973
4983
|
updatedAt: number;
|
|
4974
4984
|
longest: number;
|
|
4985
|
+
timeZone?: string | undefined;
|
|
4975
4986
|
}, {
|
|
4976
4987
|
current: number;
|
|
4977
4988
|
updatedAt: number;
|
|
4978
4989
|
longest: number;
|
|
4990
|
+
timeZone?: string | undefined;
|
|
4979
4991
|
}>>;
|
|
4980
4992
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
4981
4993
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|