rategame-shared 1.1.213 → 1.1.215
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/helpers/index.d.ts +1 -1
- package/dist/helpers/index.js +1 -0
- package/dist/models/rating.d.ts +2 -1
- package/dist/schemas/chat.d.ts +305 -25
- package/dist/schemas/game.d.ts +1382 -262
- package/dist/schemas/game.js +1 -1
- package/dist/schemas/list.d.ts +305 -25
- package/dist/schemas/notification.d.ts +14 -9
- package/dist/schemas/rating.d.ts +206 -31
- package/dist/schemas/rating.js +7 -1
- package/dist/schemas/sharedTypes.d.ts +1 -1
- package/dist/schemas/sharedTypes.js +1 -0
- package/dist/schemas/user.d.ts +238 -30
- package/dist/schemas/user.js +1 -0
- package/package.json +1 -1
|
@@ -55,7 +55,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
55
55
|
game: z.ZodObject<{
|
|
56
56
|
id: z.ZodString;
|
|
57
57
|
round: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
league: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"global">]>;
|
|
58
|
+
league: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>;
|
|
59
59
|
homeTeam: z.ZodObject<{
|
|
60
60
|
id: z.ZodOptional<z.ZodString>;
|
|
61
61
|
apiTeamId: z.ZodNumber;
|
|
@@ -164,7 +164,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
164
164
|
roundName: z.ZodOptional<z.ZodString>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
167
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
168
168
|
homeTeam: {
|
|
169
169
|
name: string;
|
|
170
170
|
image: string;
|
|
@@ -208,7 +208,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
208
208
|
roundName?: string | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
id: string;
|
|
211
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
211
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
212
212
|
homeTeam: {
|
|
213
213
|
name: string;
|
|
214
214
|
image: string;
|
|
@@ -259,6 +259,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
259
259
|
listCount: z.ZodOptional<z.ZodNumber>;
|
|
260
260
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
261
261
|
edited: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"watched">, z.ZodLiteral<"attended">, z.ZodLiteral<"highlights">]>>;
|
|
262
263
|
}, "strip", z.ZodTypeAny, {
|
|
263
264
|
id: string;
|
|
264
265
|
user: {
|
|
@@ -272,7 +273,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
272
273
|
rating: number;
|
|
273
274
|
game: {
|
|
274
275
|
id: string;
|
|
275
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
276
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
276
277
|
homeTeam: {
|
|
277
278
|
name: string;
|
|
278
279
|
image: string;
|
|
@@ -324,6 +325,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
324
325
|
weight?: number | undefined;
|
|
325
326
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
326
327
|
edited?: boolean | undefined;
|
|
328
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
327
329
|
}, {
|
|
328
330
|
id: string;
|
|
329
331
|
user: {
|
|
@@ -337,7 +339,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
337
339
|
rating: number;
|
|
338
340
|
game: {
|
|
339
341
|
id: string;
|
|
340
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
342
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
341
343
|
homeTeam: {
|
|
342
344
|
name: string;
|
|
343
345
|
image: string;
|
|
@@ -389,11 +391,13 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
389
391
|
weight?: number | undefined;
|
|
390
392
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
391
393
|
edited?: boolean | undefined;
|
|
394
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
392
395
|
}>>;
|
|
393
396
|
}, "strip", z.ZodTypeAny, {
|
|
394
397
|
id: string;
|
|
395
398
|
source: string;
|
|
396
399
|
text: string;
|
|
400
|
+
category: string;
|
|
397
401
|
userId: string;
|
|
398
402
|
initiator: {
|
|
399
403
|
id: string;
|
|
@@ -402,7 +406,6 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
402
406
|
avatarUrl?: string | undefined;
|
|
403
407
|
badge?: string | undefined;
|
|
404
408
|
};
|
|
405
|
-
category: string;
|
|
406
409
|
link?: string | undefined;
|
|
407
410
|
data?: any;
|
|
408
411
|
createdAt?: any;
|
|
@@ -419,7 +422,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
419
422
|
rating: number;
|
|
420
423
|
game: {
|
|
421
424
|
id: string;
|
|
422
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
425
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
423
426
|
homeTeam: {
|
|
424
427
|
name: string;
|
|
425
428
|
image: string;
|
|
@@ -471,12 +474,14 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
471
474
|
weight?: number | undefined;
|
|
472
475
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
473
476
|
edited?: boolean | undefined;
|
|
477
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
474
478
|
} | undefined;
|
|
475
479
|
linkText?: string | undefined;
|
|
476
480
|
}, {
|
|
477
481
|
id: string;
|
|
478
482
|
source: string;
|
|
479
483
|
text: string;
|
|
484
|
+
category: string;
|
|
480
485
|
userId: string;
|
|
481
486
|
initiator: {
|
|
482
487
|
id: string;
|
|
@@ -485,7 +490,6 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
485
490
|
avatarUrl?: string | undefined;
|
|
486
491
|
badge?: string | undefined;
|
|
487
492
|
};
|
|
488
|
-
category: string;
|
|
489
493
|
link?: string | undefined;
|
|
490
494
|
data?: any;
|
|
491
495
|
createdAt?: any;
|
|
@@ -502,7 +506,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
502
506
|
rating: number;
|
|
503
507
|
game: {
|
|
504
508
|
id: string;
|
|
505
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
509
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
506
510
|
homeTeam: {
|
|
507
511
|
name: string;
|
|
508
512
|
image: string;
|
|
@@ -554,6 +558,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
554
558
|
weight?: number | undefined;
|
|
555
559
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
556
560
|
edited?: boolean | undefined;
|
|
561
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
557
562
|
} | undefined;
|
|
558
563
|
linkText?: string | undefined;
|
|
559
564
|
}>;
|