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
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const ratingCategorySchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>;
|
|
1
2
|
export declare const ratingSchema: import("zod").ZodObject<{
|
|
2
3
|
id: import("zod").ZodString;
|
|
3
4
|
createdAt: import("zod").ZodNumber;
|
|
@@ -25,7 +26,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
25
26
|
game: import("zod").ZodObject<{
|
|
26
27
|
id: import("zod").ZodString;
|
|
27
28
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
28
|
-
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>;
|
|
29
|
+
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>;
|
|
29
30
|
homeTeam: import("zod").ZodObject<{
|
|
30
31
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
32
|
apiTeamId: import("zod").ZodNumber;
|
|
@@ -134,7 +135,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
134
135
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
135
136
|
}, "strip", import("zod").ZodTypeAny, {
|
|
136
137
|
id: string;
|
|
137
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
138
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
138
139
|
homeTeam: {
|
|
139
140
|
name: string;
|
|
140
141
|
image: string;
|
|
@@ -178,7 +179,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
178
179
|
roundName?: string | undefined;
|
|
179
180
|
}, {
|
|
180
181
|
id: string;
|
|
181
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
182
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
182
183
|
homeTeam: {
|
|
183
184
|
name: string;
|
|
184
185
|
image: string;
|
|
@@ -229,6 +230,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
229
230
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
231
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
231
232
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
233
|
+
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
|
|
232
234
|
}, "strip", import("zod").ZodTypeAny, {
|
|
233
235
|
id: string;
|
|
234
236
|
user: {
|
|
@@ -242,7 +244,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
242
244
|
rating: number;
|
|
243
245
|
game: {
|
|
244
246
|
id: string;
|
|
245
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
247
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
246
248
|
homeTeam: {
|
|
247
249
|
name: string;
|
|
248
250
|
image: string;
|
|
@@ -294,6 +296,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
294
296
|
weight?: number | undefined;
|
|
295
297
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
296
298
|
edited?: boolean | undefined;
|
|
299
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
297
300
|
}, {
|
|
298
301
|
id: string;
|
|
299
302
|
user: {
|
|
@@ -307,7 +310,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
307
310
|
rating: number;
|
|
308
311
|
game: {
|
|
309
312
|
id: string;
|
|
310
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
313
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
311
314
|
homeTeam: {
|
|
312
315
|
name: string;
|
|
313
316
|
image: string;
|
|
@@ -359,12 +362,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
359
362
|
weight?: number | undefined;
|
|
360
363
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
361
364
|
edited?: boolean | undefined;
|
|
365
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
362
366
|
}>;
|
|
363
367
|
export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
364
368
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
365
369
|
teamId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
366
370
|
round: import("zod").ZodOptional<import("zod").ZodString>;
|
|
367
|
-
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>;
|
|
371
|
+
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>;
|
|
368
372
|
createdAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
369
373
|
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">]>>;
|
|
370
374
|
limit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -379,7 +383,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
379
383
|
division: import("zod").ZodOptional<import("zod").ZodString>;
|
|
380
384
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
381
385
|
}, "strip", import("zod").ZodTypeAny, {
|
|
382
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
386
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
383
387
|
offset?: string | undefined;
|
|
384
388
|
round?: string | undefined;
|
|
385
389
|
q?: string | undefined;
|
|
@@ -397,7 +401,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
397
401
|
mlbTeamLeague?: string | undefined;
|
|
398
402
|
division?: string | undefined;
|
|
399
403
|
}, {
|
|
400
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
404
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
401
405
|
offset?: string | undefined;
|
|
402
406
|
round?: string | undefined;
|
|
403
407
|
q?: string | undefined;
|
|
@@ -508,7 +512,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
508
512
|
game: import("zod").ZodObject<{
|
|
509
513
|
id: import("zod").ZodString;
|
|
510
514
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
511
|
-
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>;
|
|
515
|
+
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>;
|
|
512
516
|
homeTeam: import("zod").ZodObject<{
|
|
513
517
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
514
518
|
apiTeamId: import("zod").ZodNumber;
|
|
@@ -617,7 +621,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
617
621
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
618
622
|
}, "strip", import("zod").ZodTypeAny, {
|
|
619
623
|
id: string;
|
|
620
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
624
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
621
625
|
homeTeam: {
|
|
622
626
|
name: string;
|
|
623
627
|
image: string;
|
|
@@ -661,7 +665,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
661
665
|
roundName?: string | undefined;
|
|
662
666
|
}, {
|
|
663
667
|
id: string;
|
|
664
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
668
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
665
669
|
homeTeam: {
|
|
666
670
|
name: string;
|
|
667
671
|
image: string;
|
|
@@ -712,11 +716,12 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
712
716
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
713
717
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
714
718
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
719
|
+
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
|
|
715
720
|
}, "id" | "user" | "createdAt">, {
|
|
716
721
|
game: import("zod").ZodObject<Omit<{
|
|
717
722
|
id: import("zod").ZodString;
|
|
718
723
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
719
|
-
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>;
|
|
724
|
+
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>;
|
|
720
725
|
homeTeam: import("zod").ZodObject<{
|
|
721
726
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
722
727
|
apiTeamId: import("zod").ZodNumber;
|
|
@@ -825,7 +830,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
825
830
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
826
831
|
}, "round" | "startedAt" | "homeTeam" | "awayTeam" | "roundName">, "strip", import("zod").ZodTypeAny, {
|
|
827
832
|
id: string;
|
|
828
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
833
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
829
834
|
week?: number | undefined;
|
|
830
835
|
seriesInfo?: {
|
|
831
836
|
maxLength: number;
|
|
@@ -836,7 +841,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
836
841
|
seasonType?: number | undefined;
|
|
837
842
|
}, {
|
|
838
843
|
id: string;
|
|
839
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
844
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
840
845
|
week?: number | undefined;
|
|
841
846
|
seriesInfo?: {
|
|
842
847
|
maxLength: number;
|
|
@@ -851,7 +856,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
851
856
|
rating: number;
|
|
852
857
|
game: {
|
|
853
858
|
id: string;
|
|
854
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
859
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
855
860
|
week?: number | undefined;
|
|
856
861
|
seriesInfo?: {
|
|
857
862
|
maxLength: number;
|
|
@@ -871,11 +876,12 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
871
876
|
weight?: number | undefined;
|
|
872
877
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
873
878
|
edited?: boolean | undefined;
|
|
879
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
874
880
|
}, {
|
|
875
881
|
rating: number;
|
|
876
882
|
game: {
|
|
877
883
|
id: string;
|
|
878
|
-
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba";
|
|
884
|
+
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
879
885
|
week?: number | undefined;
|
|
880
886
|
seriesInfo?: {
|
|
881
887
|
maxLength: number;
|
|
@@ -895,6 +901,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
895
901
|
weight?: number | undefined;
|
|
896
902
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
897
903
|
edited?: boolean | undefined;
|
|
904
|
+
category?: "watched" | "attended" | "highlights" | undefined;
|
|
898
905
|
}>;
|
|
899
906
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
900
907
|
id: import("zod").ZodString;
|
|
@@ -1124,6 +1131,42 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1124
1131
|
weightedRating: number;
|
|
1125
1132
|
};
|
|
1126
1133
|
}>;
|
|
1134
|
+
cwc: import("zod").ZodObject<{
|
|
1135
|
+
totalRatedGames: import("zod").ZodNumber;
|
|
1136
|
+
commentsLeft: import("zod").ZodNumber;
|
|
1137
|
+
avgRating: import("zod").ZodNumber;
|
|
1138
|
+
avgRatings: import("zod").ZodObject<{
|
|
1139
|
+
initialWindowRating: import("zod").ZodNumber;
|
|
1140
|
+
normalRating: import("zod").ZodNumber;
|
|
1141
|
+
weightedRating: import("zod").ZodNumber;
|
|
1142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1143
|
+
initialWindowRating: number;
|
|
1144
|
+
normalRating: number;
|
|
1145
|
+
weightedRating: number;
|
|
1146
|
+
}, {
|
|
1147
|
+
initialWindowRating: number;
|
|
1148
|
+
normalRating: number;
|
|
1149
|
+
weightedRating: number;
|
|
1150
|
+
}>;
|
|
1151
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1152
|
+
totalRatedGames: number;
|
|
1153
|
+
commentsLeft: number;
|
|
1154
|
+
avgRating: number;
|
|
1155
|
+
avgRatings: {
|
|
1156
|
+
initialWindowRating: number;
|
|
1157
|
+
normalRating: number;
|
|
1158
|
+
weightedRating: number;
|
|
1159
|
+
};
|
|
1160
|
+
}, {
|
|
1161
|
+
totalRatedGames: number;
|
|
1162
|
+
commentsLeft: number;
|
|
1163
|
+
avgRating: number;
|
|
1164
|
+
avgRatings: {
|
|
1165
|
+
initialWindowRating: number;
|
|
1166
|
+
normalRating: number;
|
|
1167
|
+
weightedRating: number;
|
|
1168
|
+
};
|
|
1169
|
+
}>;
|
|
1127
1170
|
cfb: import("zod").ZodObject<{
|
|
1128
1171
|
totalRatedGames: import("zod").ZodNumber;
|
|
1129
1172
|
commentsLeft: import("zod").ZodNumber;
|
|
@@ -1369,6 +1412,16 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1369
1412
|
weightedRating: number;
|
|
1370
1413
|
};
|
|
1371
1414
|
};
|
|
1415
|
+
cwc: {
|
|
1416
|
+
totalRatedGames: number;
|
|
1417
|
+
commentsLeft: number;
|
|
1418
|
+
avgRating: number;
|
|
1419
|
+
avgRatings: {
|
|
1420
|
+
initialWindowRating: number;
|
|
1421
|
+
normalRating: number;
|
|
1422
|
+
weightedRating: number;
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1372
1425
|
}, {
|
|
1373
1426
|
nba: {
|
|
1374
1427
|
totalRatedGames: number;
|
|
@@ -1470,6 +1523,16 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1470
1523
|
weightedRating: number;
|
|
1471
1524
|
};
|
|
1472
1525
|
};
|
|
1526
|
+
cwc: {
|
|
1527
|
+
totalRatedGames: number;
|
|
1528
|
+
commentsLeft: number;
|
|
1529
|
+
avgRating: number;
|
|
1530
|
+
avgRatings: {
|
|
1531
|
+
initialWindowRating: number;
|
|
1532
|
+
normalRating: number;
|
|
1533
|
+
weightedRating: number;
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1473
1536
|
}>>;
|
|
1474
1537
|
totalRatedGames: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1475
1538
|
commentsLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1528,10 +1591,10 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1528
1591
|
}>>;
|
|
1529
1592
|
spoilersEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1530
1593
|
viewedChangelogs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1531
|
-
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
1594
|
+
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
1532
1595
|
lastSelectedFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
1533
1596
|
lastSelectedRatingFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">]>>;
|
|
1534
|
-
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
1597
|
+
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
1535
1598
|
role: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Admin">, import("zod").ZodLiteral<"Creator">]>>;
|
|
1536
1599
|
preferTraditionalTeamLayout: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1537
1600
|
wasPromptedForReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1654,7 +1717,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1654
1717
|
}>>;
|
|
1655
1718
|
currentTier: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1656
1719
|
type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"global">, import("zod").ZodLiteral<"sport">, import("zod").ZodLiteral<"league">]>>;
|
|
1657
|
-
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
1720
|
+
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
1658
1721
|
sport: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"basketball">, import("zod").ZodLiteral<"football">, import("zod").ZodLiteral<"soccer">, import("zod").ZodLiteral<"baseball">, import("zod").ZodLiteral<"hockey">]>>;
|
|
1659
1722
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1660
1723
|
id: string;
|
|
@@ -1678,7 +1741,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1678
1741
|
} | undefined;
|
|
1679
1742
|
currentTier?: number | undefined;
|
|
1680
1743
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1681
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
1744
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1682
1745
|
}, {
|
|
1683
1746
|
id: string;
|
|
1684
1747
|
name: string;
|
|
@@ -1701,7 +1764,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1701
1764
|
} | undefined;
|
|
1702
1765
|
currentTier?: number | undefined;
|
|
1703
1766
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1704
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
1767
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1705
1768
|
}>>>;
|
|
1706
1769
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1707
1770
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1946,6 +2009,42 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1946
2009
|
weightedRating: number;
|
|
1947
2010
|
};
|
|
1948
2011
|
}>;
|
|
2012
|
+
cwc: import("zod").ZodObject<{
|
|
2013
|
+
totalRatedGames: import("zod").ZodNumber;
|
|
2014
|
+
commentsLeft: import("zod").ZodNumber;
|
|
2015
|
+
avgRating: import("zod").ZodNumber;
|
|
2016
|
+
avgRatings: import("zod").ZodObject<{
|
|
2017
|
+
initialWindowRating: import("zod").ZodNumber;
|
|
2018
|
+
normalRating: import("zod").ZodNumber;
|
|
2019
|
+
weightedRating: import("zod").ZodNumber;
|
|
2020
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2021
|
+
initialWindowRating: number;
|
|
2022
|
+
normalRating: number;
|
|
2023
|
+
weightedRating: number;
|
|
2024
|
+
}, {
|
|
2025
|
+
initialWindowRating: number;
|
|
2026
|
+
normalRating: number;
|
|
2027
|
+
weightedRating: number;
|
|
2028
|
+
}>;
|
|
2029
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2030
|
+
totalRatedGames: number;
|
|
2031
|
+
commentsLeft: number;
|
|
2032
|
+
avgRating: number;
|
|
2033
|
+
avgRatings: {
|
|
2034
|
+
initialWindowRating: number;
|
|
2035
|
+
normalRating: number;
|
|
2036
|
+
weightedRating: number;
|
|
2037
|
+
};
|
|
2038
|
+
}, {
|
|
2039
|
+
totalRatedGames: number;
|
|
2040
|
+
commentsLeft: number;
|
|
2041
|
+
avgRating: number;
|
|
2042
|
+
avgRatings: {
|
|
2043
|
+
initialWindowRating: number;
|
|
2044
|
+
normalRating: number;
|
|
2045
|
+
weightedRating: number;
|
|
2046
|
+
};
|
|
2047
|
+
}>;
|
|
1949
2048
|
cfb: import("zod").ZodObject<{
|
|
1950
2049
|
totalRatedGames: import("zod").ZodNumber;
|
|
1951
2050
|
commentsLeft: import("zod").ZodNumber;
|
|
@@ -2191,6 +2290,16 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2191
2290
|
weightedRating: number;
|
|
2192
2291
|
};
|
|
2193
2292
|
};
|
|
2293
|
+
cwc: {
|
|
2294
|
+
totalRatedGames: number;
|
|
2295
|
+
commentsLeft: number;
|
|
2296
|
+
avgRating: number;
|
|
2297
|
+
avgRatings: {
|
|
2298
|
+
initialWindowRating: number;
|
|
2299
|
+
normalRating: number;
|
|
2300
|
+
weightedRating: number;
|
|
2301
|
+
};
|
|
2302
|
+
};
|
|
2194
2303
|
}, {
|
|
2195
2304
|
nba: {
|
|
2196
2305
|
totalRatedGames: number;
|
|
@@ -2292,6 +2401,16 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2292
2401
|
weightedRating: number;
|
|
2293
2402
|
};
|
|
2294
2403
|
};
|
|
2404
|
+
cwc: {
|
|
2405
|
+
totalRatedGames: number;
|
|
2406
|
+
commentsLeft: number;
|
|
2407
|
+
avgRating: number;
|
|
2408
|
+
avgRatings: {
|
|
2409
|
+
initialWindowRating: number;
|
|
2410
|
+
normalRating: number;
|
|
2411
|
+
weightedRating: number;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2295
2414
|
}>>;
|
|
2296
2415
|
totalRatedGames: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2297
2416
|
commentsLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2350,10 +2469,10 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2350
2469
|
}>>;
|
|
2351
2470
|
spoilersEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2352
2471
|
viewedChangelogs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
2353
|
-
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
2472
|
+
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
2354
2473
|
lastSelectedFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
2355
2474
|
lastSelectedRatingFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">]>>;
|
|
2356
|
-
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
2475
|
+
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
2357
2476
|
role: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Admin">, import("zod").ZodLiteral<"Creator">]>>;
|
|
2358
2477
|
preferTraditionalTeamLayout: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2359
2478
|
wasPromptedForReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2476,7 +2595,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2476
2595
|
}>>;
|
|
2477
2596
|
currentTier: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2478
2597
|
type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"global">, import("zod").ZodLiteral<"sport">, import("zod").ZodLiteral<"league">]>>;
|
|
2479
|
-
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
2598
|
+
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
2480
2599
|
sport: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"basketball">, import("zod").ZodLiteral<"football">, import("zod").ZodLiteral<"soccer">, import("zod").ZodLiteral<"baseball">, import("zod").ZodLiteral<"hockey">]>>;
|
|
2481
2600
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2482
2601
|
id: string;
|
|
@@ -2500,7 +2619,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2500
2619
|
} | undefined;
|
|
2501
2620
|
currentTier?: number | undefined;
|
|
2502
2621
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2503
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
2622
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2504
2623
|
}, {
|
|
2505
2624
|
id: string;
|
|
2506
2625
|
name: string;
|
|
@@ -2523,7 +2642,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2523
2642
|
} | undefined;
|
|
2524
2643
|
currentTier?: number | undefined;
|
|
2525
2644
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2526
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
2645
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2527
2646
|
}>>>;
|
|
2528
2647
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2529
2648
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2834,6 +2953,42 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
2834
2953
|
weightedRating: number;
|
|
2835
2954
|
};
|
|
2836
2955
|
}>;
|
|
2956
|
+
cwc: import("zod").ZodObject<{
|
|
2957
|
+
totalRatedGames: import("zod").ZodNumber;
|
|
2958
|
+
commentsLeft: import("zod").ZodNumber;
|
|
2959
|
+
avgRating: import("zod").ZodNumber;
|
|
2960
|
+
avgRatings: import("zod").ZodObject<{
|
|
2961
|
+
initialWindowRating: import("zod").ZodNumber;
|
|
2962
|
+
normalRating: import("zod").ZodNumber;
|
|
2963
|
+
weightedRating: import("zod").ZodNumber;
|
|
2964
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2965
|
+
initialWindowRating: number;
|
|
2966
|
+
normalRating: number;
|
|
2967
|
+
weightedRating: number;
|
|
2968
|
+
}, {
|
|
2969
|
+
initialWindowRating: number;
|
|
2970
|
+
normalRating: number;
|
|
2971
|
+
weightedRating: number;
|
|
2972
|
+
}>;
|
|
2973
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2974
|
+
totalRatedGames: number;
|
|
2975
|
+
commentsLeft: number;
|
|
2976
|
+
avgRating: number;
|
|
2977
|
+
avgRatings: {
|
|
2978
|
+
initialWindowRating: number;
|
|
2979
|
+
normalRating: number;
|
|
2980
|
+
weightedRating: number;
|
|
2981
|
+
};
|
|
2982
|
+
}, {
|
|
2983
|
+
totalRatedGames: number;
|
|
2984
|
+
commentsLeft: number;
|
|
2985
|
+
avgRating: number;
|
|
2986
|
+
avgRatings: {
|
|
2987
|
+
initialWindowRating: number;
|
|
2988
|
+
normalRating: number;
|
|
2989
|
+
weightedRating: number;
|
|
2990
|
+
};
|
|
2991
|
+
}>;
|
|
2837
2992
|
cfb: import("zod").ZodObject<{
|
|
2838
2993
|
totalRatedGames: import("zod").ZodNumber;
|
|
2839
2994
|
commentsLeft: import("zod").ZodNumber;
|
|
@@ -3079,6 +3234,16 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3079
3234
|
weightedRating: number;
|
|
3080
3235
|
};
|
|
3081
3236
|
};
|
|
3237
|
+
cwc: {
|
|
3238
|
+
totalRatedGames: number;
|
|
3239
|
+
commentsLeft: number;
|
|
3240
|
+
avgRating: number;
|
|
3241
|
+
avgRatings: {
|
|
3242
|
+
initialWindowRating: number;
|
|
3243
|
+
normalRating: number;
|
|
3244
|
+
weightedRating: number;
|
|
3245
|
+
};
|
|
3246
|
+
};
|
|
3082
3247
|
}, {
|
|
3083
3248
|
nba: {
|
|
3084
3249
|
totalRatedGames: number;
|
|
@@ -3180,6 +3345,16 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3180
3345
|
weightedRating: number;
|
|
3181
3346
|
};
|
|
3182
3347
|
};
|
|
3348
|
+
cwc: {
|
|
3349
|
+
totalRatedGames: number;
|
|
3350
|
+
commentsLeft: number;
|
|
3351
|
+
avgRating: number;
|
|
3352
|
+
avgRatings: {
|
|
3353
|
+
initialWindowRating: number;
|
|
3354
|
+
normalRating: number;
|
|
3355
|
+
weightedRating: number;
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3183
3358
|
}>>;
|
|
3184
3359
|
totalRatedGames: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3185
3360
|
commentsLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -3238,10 +3413,10 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3238
3413
|
}>>;
|
|
3239
3414
|
spoilersEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3240
3415
|
viewedChangelogs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
3241
|
-
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
3416
|
+
lastSelectedLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
3242
3417
|
lastSelectedFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
3243
3418
|
lastSelectedRatingFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">]>>;
|
|
3244
|
-
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
3419
|
+
creatorLeague: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
3245
3420
|
role: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"Admin">, import("zod").ZodLiteral<"Creator">]>>;
|
|
3246
3421
|
preferTraditionalTeamLayout: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3247
3422
|
wasPromptedForReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -3364,7 +3539,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3364
3539
|
}>>;
|
|
3365
3540
|
currentTier: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3366
3541
|
type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"global">, import("zod").ZodLiteral<"sport">, import("zod").ZodLiteral<"league">]>>;
|
|
3367
|
-
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>>;
|
|
3542
|
+
league: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>>;
|
|
3368
3543
|
sport: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"basketball">, import("zod").ZodLiteral<"football">, import("zod").ZodLiteral<"soccer">, import("zod").ZodLiteral<"baseball">, import("zod").ZodLiteral<"hockey">]>>;
|
|
3369
3544
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3370
3545
|
id: string;
|
|
@@ -3388,7 +3563,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3388
3563
|
} | undefined;
|
|
3389
3564
|
currentTier?: number | undefined;
|
|
3390
3565
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3391
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
3566
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3392
3567
|
}, {
|
|
3393
3568
|
id: string;
|
|
3394
3569
|
name: string;
|
|
@@ -3411,7 +3586,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3411
3586
|
} | undefined;
|
|
3412
3587
|
currentTier?: number | undefined;
|
|
3413
3588
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3414
|
-
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | undefined;
|
|
3589
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3415
3590
|
}>>>;
|
|
3416
3591
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3417
3592
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.seriesStatsSchema = exports.roundStatsSchema = exports.seasonGroupStatsSchema = exports.seasonStatsSchema = exports.profileRatingStatsSchema = exports.threadCommentLikeSchema = exports.threadCommentSchema = exports.createRatingSchema = exports.createAgreeRatingSchema = exports.ratingLikeSchema = exports.searchRatingSchema = exports.ratingSchema = void 0;
|
|
3
|
+
exports.seriesStatsSchema = exports.roundStatsSchema = exports.seasonGroupStatsSchema = exports.seasonStatsSchema = exports.profileRatingStatsSchema = exports.threadCommentLikeSchema = exports.threadCommentSchema = exports.createRatingSchema = exports.createAgreeRatingSchema = exports.ratingLikeSchema = exports.searchRatingSchema = exports.ratingSchema = exports.ratingCategorySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const game_1 = require("./game");
|
|
6
6
|
const user_1 = require("./user");
|
|
7
7
|
const sharedTypes_1 = require("./sharedTypes");
|
|
8
|
+
exports.ratingCategorySchema = (0, zod_1.union)([
|
|
9
|
+
(0, zod_1.literal)("watched"),
|
|
10
|
+
(0, zod_1.literal)("attended"),
|
|
11
|
+
(0, zod_1.literal)("highlights"),
|
|
12
|
+
]);
|
|
8
13
|
exports.ratingSchema = (0, zod_1.object)({
|
|
9
14
|
id: (0, zod_1.string)(),
|
|
10
15
|
createdAt: (0, zod_1.number)(),
|
|
@@ -43,6 +48,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
43
48
|
listCount: (0, zod_1.number)().optional(),
|
|
44
49
|
updatedAt: (0, zod_1.number)().optional(),
|
|
45
50
|
edited: (0, zod_1.boolean)().optional(),
|
|
51
|
+
category: exports.ratingCategorySchema.optional(),
|
|
46
52
|
});
|
|
47
53
|
exports.searchRatingSchema = (0, zod_1.object)({
|
|
48
54
|
q: (0, zod_1.string)().optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const timeFilterSchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"Today">, import("zod").ZodLiteral<"This Week">, import("zod").ZodLiteral<"This Season">, import("zod").ZodLiteral<"This Month">, import("zod").ZodLiteral<"This Year">, import("zod").ZodLiteral<"All">, import("zod").ZodLiteral<"All Time">, import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>;
|
|
2
2
|
export declare const ratingSortSchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">]>;
|
|
3
|
-
export declare const leagueSlug: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"global">]>;
|
|
3
|
+
export declare const leagueSlug: import("zod").ZodUnion<[import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"cbb">, import("zod").ZodLiteral<"cfb">, import("zod").ZodLiteral<"epl">, import("zod").ZodLiteral<"mls">, import("zod").ZodLiteral<"wnba">, import("zod").ZodLiteral<"cwc">, import("zod").ZodLiteral<"global">]>;
|
|
4
4
|
export declare const seasonGroupingSchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"combined">, import("zod").ZodLiteral<"regularSeason">, import("zod").ZodLiteral<"playoffs">]>;
|