rategame-shared 1.1.415 → 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.
@@ -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
+ }
@@ -1,8 +1,9 @@
1
1
  import { z } from "zod";
2
- export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const chatMessageSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  content: z.ZodString;
5
5
  createdAt: z.ZodAny;
6
+ editedAt: z.ZodOptional<z.ZodAny>;
6
7
  gameId: z.ZodString;
7
8
  gameLeague: z.ZodString;
8
9
  user: z.ZodObject<Pick<{
@@ -852,6 +853,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
852
853
  longest: number;
853
854
  timeZone?: string | undefined;
854
855
  }>>;
856
+ currentPickStreak: z.ZodOptional<z.ZodNumber>;
857
+ allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
855
858
  milestones: z.ZodOptional<z.ZodObject<{
856
859
  ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
857
860
  count: z.ZodNumber;
@@ -1060,6 +1063,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
1060
1063
  viewedToS: z.ZodOptional<z.ZodBoolean>;
1061
1064
  banned: z.ZodOptional<z.ZodBoolean>;
1062
1065
  lowercaseUsername: z.ZodOptional<z.ZodString>;
1066
+ lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
1067
+ previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1063
1068
  headerColor: z.ZodOptional<z.ZodString>;
1064
1069
  profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
1065
1070
  profileCompletionStatus: z.ZodOptional<z.ZodObject<{
@@ -1185,6 +1190,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
1185
1190
  gifUrl: z.ZodOptional<z.ZodString>;
1186
1191
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1187
1192
  isReply: z.ZodOptional<z.ZodBoolean>;
1193
+ /** True when the parent message was deleted; replyToMessage should be omitted. */
1194
+ replyToDeleted: z.ZodOptional<z.ZodBoolean>;
1188
1195
  replyTo: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
1189
1196
  id: z.ZodString;
1190
1197
  email: z.ZodString;
@@ -2032,6 +2039,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2032
2039
  longest: number;
2033
2040
  timeZone?: string | undefined;
2034
2041
  }>>;
2042
+ currentPickStreak: z.ZodOptional<z.ZodNumber>;
2043
+ allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
2035
2044
  milestones: z.ZodOptional<z.ZodObject<{
2036
2045
  ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2037
2046
  count: z.ZodNumber;
@@ -2240,6 +2249,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2240
2249
  viewedToS: z.ZodOptional<z.ZodBoolean>;
2241
2250
  banned: z.ZodOptional<z.ZodBoolean>;
2242
2251
  lowercaseUsername: z.ZodOptional<z.ZodString>;
2252
+ lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
2253
+ previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2243
2254
  headerColor: z.ZodOptional<z.ZodString>;
2244
2255
  profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
2245
2256
  profileCompletionStatus: z.ZodOptional<z.ZodObject<{
@@ -2359,9 +2370,9 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2359
2370
  avatarUrl?: string | null | undefined;
2360
2371
  badge?: string | undefined;
2361
2372
  }>>>;
2362
- }, {
2373
+ } & {
2363
2374
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
2364
- }>, "strip", z.ZodTypeAny, {
2375
+ }, "strip", z.ZodTypeAny, {
2365
2376
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
2366
2377
  id: string;
2367
2378
  content: string;
@@ -2386,7 +2397,9 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2386
2397
  badge?: string | undefined;
2387
2398
  } | null | undefined;
2388
2399
  gifUrl?: string | undefined;
2400
+ editedAt?: any;
2389
2401
  itemId?: string | undefined;
2402
+ replyToDeleted?: boolean | undefined;
2390
2403
  replyToMessage?: any;
2391
2404
  }, {
2392
2405
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
@@ -2413,13 +2426,16 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2413
2426
  badge?: string | undefined;
2414
2427
  } | null | undefined;
2415
2428
  gifUrl?: string | undefined;
2429
+ editedAt?: any;
2416
2430
  itemId?: string | undefined;
2431
+ replyToDeleted?: boolean | undefined;
2417
2432
  replyToMessage?: any;
2418
2433
  }>;
2419
- export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2434
+ export declare const communityChatMessageSchema: z.ZodObject<{
2420
2435
  id: z.ZodString;
2421
2436
  content: z.ZodOptional<z.ZodString>;
2422
2437
  createdAt: z.ZodAny;
2438
+ editedAt: z.ZodOptional<z.ZodAny>;
2423
2439
  league: z.ZodString;
2424
2440
  user: z.ZodObject<Pick<{
2425
2441
  id: z.ZodString;
@@ -3268,6 +3284,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
3268
3284
  longest: number;
3269
3285
  timeZone?: string | undefined;
3270
3286
  }>>;
3287
+ currentPickStreak: z.ZodOptional<z.ZodNumber>;
3288
+ allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
3271
3289
  milestones: z.ZodOptional<z.ZodObject<{
3272
3290
  ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3273
3291
  count: z.ZodNumber;
@@ -3476,6 +3494,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
3476
3494
  viewedToS: z.ZodOptional<z.ZodBoolean>;
3477
3495
  banned: z.ZodOptional<z.ZodBoolean>;
3478
3496
  lowercaseUsername: z.ZodOptional<z.ZodString>;
3497
+ lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
3498
+ previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3479
3499
  headerColor: z.ZodOptional<z.ZodString>;
3480
3500
  profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
3481
3501
  profileCompletionStatus: z.ZodOptional<z.ZodObject<{
@@ -3600,6 +3620,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
3600
3620
  gifUrl: z.ZodOptional<z.ZodString>;
3601
3621
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3602
3622
  isReply: z.ZodOptional<z.ZodBoolean>;
3623
+ /** True when the parent message was deleted; replyToMessage should be omitted. */
3624
+ replyToDeleted: z.ZodOptional<z.ZodBoolean>;
3603
3625
  replyTo: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
3604
3626
  id: z.ZodString;
3605
3627
  email: z.ZodString;
@@ -4447,6 +4469,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4447
4469
  longest: number;
4448
4470
  timeZone?: string | undefined;
4449
4471
  }>>;
4472
+ currentPickStreak: z.ZodOptional<z.ZodNumber>;
4473
+ allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
4450
4474
  milestones: z.ZodOptional<z.ZodObject<{
4451
4475
  ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
4452
4476
  count: z.ZodNumber;
@@ -4655,6 +4679,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4655
4679
  viewedToS: z.ZodOptional<z.ZodBoolean>;
4656
4680
  banned: z.ZodOptional<z.ZodBoolean>;
4657
4681
  lowercaseUsername: z.ZodOptional<z.ZodString>;
4682
+ lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
4683
+ previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4658
4684
  headerColor: z.ZodOptional<z.ZodString>;
4659
4685
  profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
4660
4686
  profileCompletionStatus: z.ZodOptional<z.ZodObject<{
@@ -4774,9 +4800,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4774
4800
  avatarUrl?: string | null | undefined;
4775
4801
  badge?: string | undefined;
4776
4802
  }>>>;
4777
- }, {
4803
+ } & {
4778
4804
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
4779
- }>, "strip", z.ZodTypeAny, {
4805
+ }, "strip", z.ZodTypeAny, {
4780
4806
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
4781
4807
  id: string;
4782
4808
  user: {
@@ -4799,7 +4825,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4799
4825
  badge?: string | undefined;
4800
4826
  } | null | undefined;
4801
4827
  gifUrl?: string | undefined;
4828
+ editedAt?: any;
4802
4829
  itemId?: string | undefined;
4830
+ replyToDeleted?: boolean | undefined;
4803
4831
  replyToMessage?: any;
4804
4832
  }, {
4805
4833
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
@@ -4824,7 +4852,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4824
4852
  badge?: string | undefined;
4825
4853
  } | null | undefined;
4826
4854
  gifUrl?: string | undefined;
4855
+ editedAt?: any;
4827
4856
  itemId?: string | undefined;
4857
+ replyToDeleted?: boolean | undefined;
4828
4858
  replyToMessage?: any;
4829
4859
  }>;
4830
4860
  export declare const messageReactionSchema: z.ZodObject<{
@@ -5678,6 +5708,8 @@ export declare const messageReactionSchema: z.ZodObject<{
5678
5708
  longest: number;
5679
5709
  timeZone?: string | undefined;
5680
5710
  }>>;
5711
+ currentPickStreak: z.ZodOptional<z.ZodNumber>;
5712
+ allTimeHighStreak: z.ZodOptional<z.ZodNumber>;
5681
5713
  milestones: z.ZodOptional<z.ZodObject<{
5682
5714
  ratings: z.ZodOptional<z.ZodArray<z.ZodObject<{
5683
5715
  count: z.ZodNumber;
@@ -5886,6 +5918,8 @@ export declare const messageReactionSchema: z.ZodObject<{
5886
5918
  viewedToS: z.ZodOptional<z.ZodBoolean>;
5887
5919
  banned: z.ZodOptional<z.ZodBoolean>;
5888
5920
  lowercaseUsername: z.ZodOptional<z.ZodString>;
5921
+ lastUsernameChangeAt: z.ZodOptional<z.ZodNumber>;
5922
+ previousUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5889
5923
  headerColor: z.ZodOptional<z.ZodString>;
5890
5924
  profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
5891
5925
  profileCompletionStatus: z.ZodOptional<z.ZodObject<{
@@ -8,6 +8,7 @@ const baseChatMessageSchema = zod_1.z.object({
8
8
  id: zod_1.z.string(),
9
9
  content: zod_1.z.string().min(1),
10
10
  createdAt: zod_1.z.any(),
11
+ editedAt: zod_1.z.any().optional(),
11
12
  gameId: zod_1.z.string(),
12
13
  gameLeague: zod_1.z.string(),
13
14
  user: user_1.reducedUserSchema,
@@ -25,12 +26,15 @@ const baseChatMessageSchema = zod_1.z.object({
25
26
  gifUrl: zod_1.z.string().optional(),
26
27
  parentId: zod_1.z.string().nullable().optional(),
27
28
  isReply: zod_1.z.boolean().optional(),
29
+ /** True when the parent message was deleted; replyToMessage should be omitted. */
30
+ replyToDeleted: zod_1.z.boolean().optional(),
28
31
  replyTo: user_1.reducedUserSchema.nullable().optional(),
29
32
  });
30
33
  const baseCommunityChatMessageSchema = zod_1.z.object({
31
34
  id: zod_1.z.string(),
32
35
  content: zod_1.z.string().min(1).optional(),
33
36
  createdAt: zod_1.z.any(),
37
+ editedAt: zod_1.z.any().optional(),
34
38
  league: zod_1.z.string(),
35
39
  user: user_1.reducedUserSchema,
36
40
  type: zod_1.z.union([
@@ -46,6 +50,8 @@ const baseCommunityChatMessageSchema = zod_1.z.object({
46
50
  gifUrl: zod_1.z.string().optional(),
47
51
  parentId: zod_1.z.string().nullable().optional(),
48
52
  isReply: zod_1.z.boolean().optional(),
53
+ /** True when the parent message was deleted; replyToMessage should be omitted. */
54
+ replyToDeleted: zod_1.z.boolean().optional(),
49
55
  replyTo: user_1.reducedUserSchema.nullable().optional(),
50
56
  });
51
57
  const UnionChatMessage = zod_1.z.lazy(() => zod_1.z.union([exports.chatMessageSchema, exports.communityChatMessageSchema]));
@@ -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<import("zod").objectUtil.extendShape<{
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
- }>, "strip", import("zod").ZodTypeAny, {
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<import("zod").objectUtil.extendShape<{
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
- }>, "strip", import("zod").ZodTypeAny, {
55
+ }, "strip", import("zod").ZodTypeAny, {
56
56
  id: string;
57
57
  url: string;
58
58
  title: string;
@@ -69,21 +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<import("zod").objectUtil.extendShape<{
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
- isCanceled: import("zod").ZodBoolean;
85
- canceledAt: import("zod").ZodOptional<import("zod").ZodNumber>;
86
- }>, "strip", import("zod").ZodTypeAny, {
84
+ }, "strip", import("zod").ZodTypeAny, {
87
85
  id: string;
88
86
  url: string;
89
87
  title: string;
@@ -94,8 +92,6 @@ export declare const featuredVideoScheduleSchema: import("zod").ZodObject<import
94
92
  startsAt: number;
95
93
  endsAt: number;
96
94
  scheduleId: string;
97
- isCanceled: boolean;
98
- canceledAt?: number | undefined;
99
95
  }, {
100
96
  id: string;
101
97
  url: string;
@@ -107,6 +103,4 @@ export declare const featuredVideoScheduleSchema: import("zod").ZodObject<import
107
103
  startsAt: number;
108
104
  endsAt: number;
109
105
  scheduleId: string;
110
- isCanceled: boolean;
111
- canceledAt?: number | undefined;
112
106
  }>;
@@ -20,6 +20,4 @@ exports.featuredVideoScheduleSchema = exports.featuredVideoSchema.extend({
20
20
  endsAt: (0, zod_1.number)(),
21
21
  createdAt: (0, zod_1.number)(),
22
22
  updatedAt: (0, zod_1.number)(),
23
- isCanceled: (0, zod_1.boolean)(),
24
- canceledAt: (0, zod_1.number)().optional(),
25
23
  });
@@ -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<z.objectUtil.extendShape<Omit<{
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
- }, "createdAt">, {
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
- }>, "strip", z.ZodTypeAny, {
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<{