rategame-shared 1.1.416 → 1.1.417
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/user.d.ts +12 -1
- package/dist/schemas/chat.d.ts +26 -6
- package/dist/schemas/content.d.ts +9 -9
- package/dist/schemas/experience.d.ts +23 -81
- package/dist/schemas/game.d.ts +155 -399
- package/dist/schemas/list.d.ts +20 -0
- package/dist/schemas/moderation.d.ts +16 -0
- package/dist/schemas/pick.d.ts +283 -665
- package/dist/schemas/pick.js +3 -0
- package/dist/schemas/rating.d.ts +25 -264
- package/dist/schemas/scorePrediction.d.ts +208 -532
- package/dist/schemas/stadium.d.ts +25 -130
- package/dist/schemas/team.d.ts +21 -22
- package/dist/schemas/trivia.d.ts +20 -0
- package/dist/schemas/user.d.ts +47 -0
- package/dist/schemas/user.js +22 -1
- package/dist/schemas/userEvent.d.ts +12 -0
- package/dist/schemas/voting.d.ts +61 -133
- package/package.json +1 -1
package/dist/models/user.d.ts
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { leagueStatsSchema, createUserSchema, userSchema, reducedUserSchema, searchUserSchema, achievementSchema } from "../schemas/user";
|
|
2
|
+
import { leagueStatsSchema, createUserSchema, userSchema, reducedUserSchema, searchUserSchema, achievementSchema, changeUsernameSchema } from "../schemas/user";
|
|
3
3
|
export type User = z.infer<typeof userSchema>;
|
|
4
4
|
export type SearchUser = z.infer<typeof searchUserSchema>;
|
|
5
5
|
export type CreateUser = z.infer<typeof createUserSchema>;
|
|
6
6
|
export type LeagueStats = z.infer<typeof leagueStatsSchema>;
|
|
7
7
|
export type ReducedUser = z.infer<typeof reducedUserSchema>;
|
|
8
8
|
export type Achievement = z.infer<typeof achievementSchema>;
|
|
9
|
+
export type ChangeUsername = z.infer<typeof changeUsernameSchema>;
|
|
10
|
+
export interface UsernameClaim {
|
|
11
|
+
userId: string;
|
|
12
|
+
claimedAt: number;
|
|
13
|
+
reservedUntil?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface UsernameHistoryEvent {
|
|
16
|
+
from: string;
|
|
17
|
+
to: string;
|
|
18
|
+
at: number;
|
|
19
|
+
}
|
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const chatMessageSchema: z.ZodObject<
|
|
2
|
+
export declare const chatMessageSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
content: z.ZodString;
|
|
5
5
|
createdAt: z.ZodAny;
|
|
@@ -853,6 +853,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
853
853
|
longest: number;
|
|
854
854
|
timeZone?: string | undefined;
|
|
855
855
|
}>>;
|
|
856
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
857
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
856
858
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
857
859
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
858
860
|
count: z.ZodNumber;
|
|
@@ -1061,6 +1063,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1061
1063
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1062
1064
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1063
1065
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
1067
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1064
1068
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
1065
1069
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1066
1070
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -2035,6 +2039,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2035
2039
|
longest: number;
|
|
2036
2040
|
timeZone?: string | undefined;
|
|
2037
2041
|
}>>;
|
|
2042
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
2043
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
2038
2044
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
2039
2045
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2040
2046
|
count: z.ZodNumber;
|
|
@@ -2243,6 +2249,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2243
2249
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2244
2250
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2245
2251
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2252
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
2253
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2246
2254
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
2247
2255
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2248
2256
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -2362,9 +2370,9 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2362
2370
|
avatarUrl?: string | null | undefined;
|
|
2363
2371
|
badge?: string | undefined;
|
|
2364
2372
|
}>>>;
|
|
2365
|
-
}
|
|
2373
|
+
} & {
|
|
2366
2374
|
replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
2367
|
-
}
|
|
2375
|
+
}, "strip", z.ZodTypeAny, {
|
|
2368
2376
|
type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
|
|
2369
2377
|
id: string;
|
|
2370
2378
|
content: string;
|
|
@@ -2423,7 +2431,7 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2423
2431
|
replyToDeleted?: boolean | undefined;
|
|
2424
2432
|
replyToMessage?: any;
|
|
2425
2433
|
}>;
|
|
2426
|
-
export declare const communityChatMessageSchema: z.ZodObject<
|
|
2434
|
+
export declare const communityChatMessageSchema: z.ZodObject<{
|
|
2427
2435
|
id: z.ZodString;
|
|
2428
2436
|
content: z.ZodOptional<z.ZodString>;
|
|
2429
2437
|
createdAt: z.ZodAny;
|
|
@@ -3276,6 +3284,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
3276
3284
|
longest: number;
|
|
3277
3285
|
timeZone?: string | undefined;
|
|
3278
3286
|
}>>;
|
|
3287
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
3288
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
3279
3289
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
3280
3290
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3281
3291
|
count: z.ZodNumber;
|
|
@@ -3484,6 +3494,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
3484
3494
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3485
3495
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3486
3496
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
3498
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3487
3499
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
3488
3500
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3489
3501
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -4457,6 +4469,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
4457
4469
|
longest: number;
|
|
4458
4470
|
timeZone?: string | undefined;
|
|
4459
4471
|
}>>;
|
|
4472
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
4473
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
4460
4474
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
4461
4475
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4462
4476
|
count: z.ZodNumber;
|
|
@@ -4665,6 +4679,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
4665
4679
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4666
4680
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
4667
4681
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
4682
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
4683
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4668
4684
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
4669
4685
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
4670
4686
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -4784,9 +4800,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
4784
4800
|
avatarUrl?: string | null | undefined;
|
|
4785
4801
|
badge?: string | undefined;
|
|
4786
4802
|
}>>>;
|
|
4787
|
-
}
|
|
4803
|
+
} & {
|
|
4788
4804
|
replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
4789
|
-
}
|
|
4805
|
+
}, "strip", z.ZodTypeAny, {
|
|
4790
4806
|
type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
|
|
4791
4807
|
id: string;
|
|
4792
4808
|
user: {
|
|
@@ -5692,6 +5708,8 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
5692
5708
|
longest: number;
|
|
5693
5709
|
timeZone?: string | undefined;
|
|
5694
5710
|
}>>;
|
|
5711
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
5712
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
5695
5713
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
5696
5714
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5697
5715
|
count: z.ZodNumber;
|
|
@@ -5900,6 +5918,8 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
5900
5918
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
5901
5919
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
5902
5920
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
5921
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
5922
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5903
5923
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
5904
5924
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
5905
5925
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -17,16 +17,16 @@ export declare const featuredVideoSchema: import("zod").ZodObject<{
|
|
|
17
17
|
description: string;
|
|
18
18
|
thumbnail: string;
|
|
19
19
|
}>;
|
|
20
|
-
export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodObject<
|
|
20
|
+
export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodObject<{
|
|
21
21
|
id: import("zod").ZodString;
|
|
22
22
|
title: import("zod").ZodString;
|
|
23
23
|
description: import("zod").ZodString;
|
|
24
24
|
url: import("zod").ZodString;
|
|
25
25
|
thumbnail: import("zod").ZodString;
|
|
26
|
-
}
|
|
26
|
+
} & {
|
|
27
27
|
startsAt: import("zod").ZodNumber;
|
|
28
28
|
endsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29
|
-
}
|
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30
30
|
id: string;
|
|
31
31
|
url: string;
|
|
32
32
|
title: string;
|
|
@@ -43,16 +43,16 @@ export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodOb
|
|
|
43
43
|
startsAt: number;
|
|
44
44
|
endsAt?: number | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodObject<
|
|
46
|
+
export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodObject<{
|
|
47
47
|
id: import("zod").ZodString;
|
|
48
48
|
title: import("zod").ZodString;
|
|
49
49
|
description: import("zod").ZodString;
|
|
50
50
|
url: import("zod").ZodString;
|
|
51
51
|
thumbnail: import("zod").ZodString;
|
|
52
|
-
}
|
|
52
|
+
} & {
|
|
53
53
|
startsAt: import("zod").ZodNumber;
|
|
54
54
|
endsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
55
|
-
}
|
|
55
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
56
56
|
id: string;
|
|
57
57
|
url: string;
|
|
58
58
|
title: string;
|
|
@@ -69,19 +69,19 @@ export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodOb
|
|
|
69
69
|
startsAt: number;
|
|
70
70
|
endsAt?: number | undefined;
|
|
71
71
|
}>;
|
|
72
|
-
export declare const featuredVideoScheduleSchema: import("zod").ZodObject<
|
|
72
|
+
export declare const featuredVideoScheduleSchema: import("zod").ZodObject<{
|
|
73
73
|
id: import("zod").ZodString;
|
|
74
74
|
title: import("zod").ZodString;
|
|
75
75
|
description: import("zod").ZodString;
|
|
76
76
|
url: import("zod").ZodString;
|
|
77
77
|
thumbnail: import("zod").ZodString;
|
|
78
|
-
}
|
|
78
|
+
} & {
|
|
79
79
|
scheduleId: import("zod").ZodString;
|
|
80
80
|
startsAt: import("zod").ZodNumber;
|
|
81
81
|
endsAt: import("zod").ZodNumber;
|
|
82
82
|
createdAt: import("zod").ZodNumber;
|
|
83
83
|
updatedAt: import("zod").ZodNumber;
|
|
84
|
-
}
|
|
84
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
85
85
|
id: string;
|
|
86
86
|
url: string;
|
|
87
87
|
title: string;
|
|
@@ -992,6 +992,8 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
992
992
|
longest: number;
|
|
993
993
|
timeZone?: string | undefined;
|
|
994
994
|
}>>;
|
|
995
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
996
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
995
997
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
996
998
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
997
999
|
count: z.ZodNumber;
|
|
@@ -1200,6 +1202,8 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
1200
1202
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1201
1203
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1202
1204
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1203
1207
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
1204
1208
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1205
1209
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -1580,12 +1584,8 @@ export declare const searchExperienceRatingSchema: z.ZodObject<{
|
|
|
1580
1584
|
/**
|
|
1581
1585
|
* Schema for creating a new experience rating
|
|
1582
1586
|
*/
|
|
1583
|
-
export declare const createExperienceRatingSchema: z.ZodObject<
|
|
1587
|
+
export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
1584
1588
|
id: z.ZodString;
|
|
1585
|
-
createdAt: z.ZodNumber;
|
|
1586
|
-
rating: z.ZodNumber;
|
|
1587
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
1588
|
-
commentLanguage: z.ZodOptional<z.ZodString>;
|
|
1589
1589
|
user: z.ZodObject<Pick<{
|
|
1590
1590
|
id: z.ZodString;
|
|
1591
1591
|
email: z.ZodString;
|
|
@@ -2433,6 +2433,8 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2433
2433
|
longest: number;
|
|
2434
2434
|
timeZone?: string | undefined;
|
|
2435
2435
|
}>>;
|
|
2436
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
2437
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
2436
2438
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
2437
2439
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2438
2440
|
count: z.ZodNumber;
|
|
@@ -2641,6 +2643,8 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2641
2643
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2642
2644
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2643
2645
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
2647
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2644
2648
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
2645
2649
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2646
2650
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -2760,81 +2764,10 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2760
2764
|
avatarUrl?: string | null | undefined;
|
|
2761
2765
|
badge?: string | undefined;
|
|
2762
2766
|
}>;
|
|
2763
|
-
experience: z.ZodObject<{
|
|
2764
|
-
id: z.ZodString;
|
|
2765
|
-
name: z.ZodString;
|
|
2766
|
-
description: z.ZodString;
|
|
2767
|
-
thumbnailUrl: z.ZodString;
|
|
2768
|
-
gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2769
|
-
stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2770
|
-
stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2771
|
-
stadiumUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2772
|
-
rating: z.ZodOptional<z.ZodObject<{
|
|
2773
|
-
avg: z.ZodNumber;
|
|
2774
|
-
votes: z.ZodObject<{
|
|
2775
|
-
options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
|
|
2776
|
-
total: z.ZodNumber;
|
|
2777
|
-
}, "strip", z.ZodTypeAny, {
|
|
2778
|
-
total: number;
|
|
2779
|
-
options: Record<number, number>;
|
|
2780
|
-
}, {
|
|
2781
|
-
total: number;
|
|
2782
|
-
options: Record<number, number>;
|
|
2783
|
-
}>;
|
|
2784
|
-
}, "strip", z.ZodTypeAny, {
|
|
2785
|
-
avg: number;
|
|
2786
|
-
votes: {
|
|
2787
|
-
total: number;
|
|
2788
|
-
options: Record<number, number>;
|
|
2789
|
-
};
|
|
2790
|
-
}, {
|
|
2791
|
-
avg: number;
|
|
2792
|
-
votes: {
|
|
2793
|
-
total: number;
|
|
2794
|
-
options: Record<number, number>;
|
|
2795
|
-
};
|
|
2796
|
-
}>>;
|
|
2797
|
-
createdAt: z.ZodNumber;
|
|
2798
|
-
happenedAt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2799
|
-
}, "strip", z.ZodTypeAny, {
|
|
2800
|
-
id: string;
|
|
2801
|
-
name: string;
|
|
2802
|
-
description: string;
|
|
2803
|
-
createdAt: number;
|
|
2804
|
-
thumbnailUrl: string;
|
|
2805
|
-
stadiumUrl?: string | null | undefined;
|
|
2806
|
-
rating?: {
|
|
2807
|
-
avg: number;
|
|
2808
|
-
votes: {
|
|
2809
|
-
total: number;
|
|
2810
|
-
options: Record<number, number>;
|
|
2811
|
-
};
|
|
2812
|
-
} | undefined;
|
|
2813
|
-
stadiumId?: string | null | undefined;
|
|
2814
|
-
gameId?: string | null | undefined;
|
|
2815
|
-
stadiumVenueName?: string | null | undefined;
|
|
2816
|
-
happenedAt?: number | null | undefined;
|
|
2817
|
-
}, {
|
|
2818
|
-
id: string;
|
|
2819
|
-
name: string;
|
|
2820
|
-
description: string;
|
|
2821
|
-
createdAt: number;
|
|
2822
|
-
thumbnailUrl: string;
|
|
2823
|
-
stadiumUrl?: string | null | undefined;
|
|
2824
|
-
rating?: {
|
|
2825
|
-
avg: number;
|
|
2826
|
-
votes: {
|
|
2827
|
-
total: number;
|
|
2828
|
-
options: Record<number, number>;
|
|
2829
|
-
};
|
|
2830
|
-
} | undefined;
|
|
2831
|
-
stadiumId?: string | null | undefined;
|
|
2832
|
-
gameId?: string | null | undefined;
|
|
2833
|
-
stadiumVenueName?: string | null | undefined;
|
|
2834
|
-
happenedAt?: number | null | undefined;
|
|
2835
|
-
}>;
|
|
2836
|
-
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
2837
2767
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2768
|
+
rating: z.ZodNumber;
|
|
2769
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
2838
2771
|
edited: z.ZodOptional<z.ZodBoolean>;
|
|
2839
2772
|
userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2840
2773
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2880,7 +2813,8 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2880
2813
|
ratingCount?: number | undefined;
|
|
2881
2814
|
};
|
|
2882
2815
|
}>, "many">>;
|
|
2883
|
-
|
|
2816
|
+
commentLanguage: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
} & {
|
|
2884
2818
|
experience: z.ZodObject<Omit<{
|
|
2885
2819
|
id: z.ZodString;
|
|
2886
2820
|
name: z.ZodString;
|
|
@@ -2940,7 +2874,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
|
|
|
2940
2874
|
stadiumVenueName?: string | null | undefined;
|
|
2941
2875
|
happenedAt?: number | null | undefined;
|
|
2942
2876
|
}>;
|
|
2943
|
-
}
|
|
2877
|
+
}, "strip", z.ZodTypeAny, {
|
|
2944
2878
|
id: string;
|
|
2945
2879
|
user: {
|
|
2946
2880
|
id: string;
|
|
@@ -3873,6 +3807,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
3873
3807
|
longest: number;
|
|
3874
3808
|
timeZone?: string | undefined;
|
|
3875
3809
|
}>>;
|
|
3810
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
3811
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
3876
3812
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
3877
3813
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3878
3814
|
count: z.ZodNumber;
|
|
@@ -4081,6 +4017,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
4081
4017
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4082
4018
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
4083
4019
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
4020
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
4021
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4084
4022
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
4085
4023
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
4086
4024
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -5050,6 +4988,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
5050
4988
|
longest: number;
|
|
5051
4989
|
timeZone?: string | undefined;
|
|
5052
4990
|
}>>;
|
|
4991
|
+
currentPickStreak: z.ZodOptional<z.ZodNumber>;
|
|
4992
|
+
allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
|
|
5053
4993
|
milestones: z.ZodOptional<z.ZodObject<{
|
|
5054
4994
|
ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5055
4995
|
count: z.ZodNumber;
|
|
@@ -5258,6 +5198,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
5258
5198
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
5259
5199
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
5260
5200
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
5201
|
+
lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
|
|
5202
|
+
previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5261
5203
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
5262
5204
|
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
5263
5205
|
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|