rategame-shared 1.1.460 → 1.1.462
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.js +33 -0
- package/dist/models/user.d.ts +2 -1
- package/dist/schemas/achievementUnlockSource.d.ts +2 -2
- package/dist/schemas/article.d.ts +46 -36
- package/dist/schemas/chat.d.ts +21 -6
- package/dist/schemas/chat.js +2 -0
- package/dist/schemas/communityGame.d.ts +18 -18
- package/dist/schemas/experience.d.ts +21 -9
- package/dist/schemas/game.d.ts +999 -939
- package/dist/schemas/list.d.ts +15 -0
- package/dist/schemas/moderation.d.ts +12 -0
- package/dist/schemas/notification.d.ts +12 -12
- package/dist/schemas/pick.d.ts +2168 -2054
- package/dist/schemas/pick.js +1 -1
- package/dist/schemas/poll.d.ts +688 -640
- package/dist/schemas/rating.d.ts +18 -9
- package/dist/schemas/scorePrediction.d.ts +1548 -1467
- package/dist/schemas/stadium.d.ts +15 -3
- package/dist/schemas/trivia.d.ts +21 -6
- package/dist/schemas/user.d.ts +17 -0
- package/dist/schemas/user.js +12 -1
- package/dist/schemas/userEvent.d.ts +13 -4
- package/dist/schemas/voting.d.ts +283 -256
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -69,6 +69,7 @@ exports.achievementsMap = {
|
|
|
69
69
|
gold: { threshold: 1000 },
|
|
70
70
|
},
|
|
71
71
|
type: "global",
|
|
72
|
+
category: "voting",
|
|
72
73
|
},
|
|
73
74
|
pin_drop: {
|
|
74
75
|
id: "pin_drop",
|
|
@@ -80,18 +81,21 @@ exports.achievementsMap = {
|
|
|
80
81
|
gold: { threshold: 1000 },
|
|
81
82
|
},
|
|
82
83
|
type: "global",
|
|
84
|
+
category: "rating",
|
|
83
85
|
},
|
|
84
86
|
card_complete: {
|
|
85
87
|
id: "card_complete",
|
|
86
88
|
name: "Card Complete",
|
|
87
89
|
description: "Complete every field of your profile card (picture, bio, favorite team, pinned ratings, favorite games, gradient color).",
|
|
88
90
|
type: "global",
|
|
91
|
+
category: "profile",
|
|
89
92
|
},
|
|
90
93
|
pride_of_a_nation: {
|
|
91
94
|
id: "pride_of_a_nation",
|
|
92
95
|
name: "Pride of a Nation",
|
|
93
96
|
description: "Choose your country and rate a game your chosen country played in.",
|
|
94
97
|
type: "global",
|
|
98
|
+
category: "profile",
|
|
95
99
|
},
|
|
96
100
|
speed_rater: {
|
|
97
101
|
id: "speed_rater",
|
|
@@ -103,6 +107,7 @@ exports.achievementsMap = {
|
|
|
103
107
|
gold: { threshold: 50 },
|
|
104
108
|
},
|
|
105
109
|
type: "global",
|
|
110
|
+
category: "rating",
|
|
106
111
|
},
|
|
107
112
|
take_this: {
|
|
108
113
|
id: "take_this",
|
|
@@ -114,6 +119,7 @@ exports.achievementsMap = {
|
|
|
114
119
|
gold: { threshold: 50 },
|
|
115
120
|
},
|
|
116
121
|
type: "global",
|
|
122
|
+
category: "takes",
|
|
117
123
|
},
|
|
118
124
|
front_runner: {
|
|
119
125
|
id: "front_runner",
|
|
@@ -125,6 +131,7 @@ exports.achievementsMap = {
|
|
|
125
131
|
gold: { threshold: 50 },
|
|
126
132
|
},
|
|
127
133
|
type: "global",
|
|
134
|
+
category: "rating",
|
|
128
135
|
},
|
|
129
136
|
loyal_till_the_end: {
|
|
130
137
|
id: "loyal_till_the_end",
|
|
@@ -136,6 +143,7 @@ exports.achievementsMap = {
|
|
|
136
143
|
gold: { threshold: 50 },
|
|
137
144
|
},
|
|
138
145
|
type: "global",
|
|
146
|
+
category: "rating",
|
|
139
147
|
},
|
|
140
148
|
around_the_world: {
|
|
141
149
|
id: "around_the_world",
|
|
@@ -147,12 +155,14 @@ exports.achievementsMap = {
|
|
|
147
155
|
gold: { threshold: 8 },
|
|
148
156
|
},
|
|
149
157
|
type: "global",
|
|
158
|
+
category: "rating",
|
|
150
159
|
},
|
|
151
160
|
superfan: {
|
|
152
161
|
id: "superfan",
|
|
153
162
|
name: "Superfan",
|
|
154
163
|
description: "Rate every game played by your favorite team in a season.",
|
|
155
164
|
type: "global",
|
|
165
|
+
category: "rating",
|
|
156
166
|
},
|
|
157
167
|
ride_or_die: {
|
|
158
168
|
id: "ride_or_die",
|
|
@@ -164,24 +174,28 @@ exports.achievementsMap = {
|
|
|
164
174
|
gold: { threshold: 5 },
|
|
165
175
|
},
|
|
166
176
|
type: "global",
|
|
177
|
+
category: "rating",
|
|
167
178
|
},
|
|
168
179
|
through_thick_n_thin: {
|
|
169
180
|
id: "through_thick_n_thin",
|
|
170
181
|
name: "Through Thick & Thin",
|
|
171
182
|
description: "Rate every game of your favorite team during a losing (sub-.500) season.",
|
|
172
183
|
type: "global",
|
|
184
|
+
category: "rating",
|
|
173
185
|
},
|
|
174
186
|
rookie_rater: {
|
|
175
187
|
id: "rookie_rater",
|
|
176
188
|
name: "Rookie Rater",
|
|
177
189
|
description: "Rate your First Game.",
|
|
178
190
|
type: "global",
|
|
191
|
+
category: "rating",
|
|
179
192
|
},
|
|
180
193
|
"fan-tastic": {
|
|
181
194
|
id: "fan-tastic",
|
|
182
195
|
name: "Fan-Tastic",
|
|
183
196
|
description: "Select your favorite teams in the app\n(at least 3).",
|
|
184
197
|
type: "global",
|
|
198
|
+
category: "profile",
|
|
185
199
|
},
|
|
186
200
|
marathon_fan: {
|
|
187
201
|
id: "marathon_fan",
|
|
@@ -193,6 +207,7 @@ exports.achievementsMap = {
|
|
|
193
207
|
gold: { threshold: 20 },
|
|
194
208
|
},
|
|
195
209
|
type: "global",
|
|
210
|
+
category: "rating",
|
|
196
211
|
},
|
|
197
212
|
new_years_resolution: {
|
|
198
213
|
id: "new_years_resolution",
|
|
@@ -204,6 +219,7 @@ exports.achievementsMap = {
|
|
|
204
219
|
gold: { threshold: 9 },
|
|
205
220
|
},
|
|
206
221
|
type: "global",
|
|
222
|
+
category: "rating",
|
|
207
223
|
},
|
|
208
224
|
dog_days_of_summer: {
|
|
209
225
|
id: "dog_days_of_summer",
|
|
@@ -215,12 +231,14 @@ exports.achievementsMap = {
|
|
|
215
231
|
gold: { threshold: 100 },
|
|
216
232
|
},
|
|
217
233
|
type: "global",
|
|
234
|
+
category: "rating",
|
|
218
235
|
},
|
|
219
236
|
"50_50_club": {
|
|
220
237
|
id: "50_50_club",
|
|
221
238
|
name: "50/50 Club",
|
|
222
239
|
description: "Rate at least 50% of all games in a single season for one league.",
|
|
223
240
|
type: "global",
|
|
241
|
+
category: "rating",
|
|
224
242
|
},
|
|
225
243
|
take_off: {
|
|
226
244
|
id: "take_off",
|
|
@@ -232,6 +250,7 @@ exports.achievementsMap = {
|
|
|
232
250
|
gold: { threshold: 8 },
|
|
233
251
|
},
|
|
234
252
|
type: "global",
|
|
253
|
+
category: "takes",
|
|
235
254
|
},
|
|
236
255
|
embrace_debate: {
|
|
237
256
|
id: "embrace_debate",
|
|
@@ -243,6 +262,7 @@ exports.achievementsMap = {
|
|
|
243
262
|
gold: { threshold: 100 },
|
|
244
263
|
},
|
|
245
264
|
type: "global",
|
|
265
|
+
category: "takes",
|
|
246
266
|
},
|
|
247
267
|
fan_of_the_people: {
|
|
248
268
|
id: "fan_of_the_people",
|
|
@@ -254,6 +274,7 @@ exports.achievementsMap = {
|
|
|
254
274
|
gold: { threshold: 100 },
|
|
255
275
|
},
|
|
256
276
|
type: "global",
|
|
277
|
+
category: "social",
|
|
257
278
|
},
|
|
258
279
|
the_peoples_fan: {
|
|
259
280
|
id: "the_peoples_fan",
|
|
@@ -265,6 +286,7 @@ exports.achievementsMap = {
|
|
|
265
286
|
gold: { threshold: 100 },
|
|
266
287
|
},
|
|
267
288
|
type: "global",
|
|
289
|
+
category: "social",
|
|
268
290
|
},
|
|
269
291
|
take_titan: {
|
|
270
292
|
id: "take_titan",
|
|
@@ -276,6 +298,7 @@ exports.achievementsMap = {
|
|
|
276
298
|
gold: { threshold: 1000 },
|
|
277
299
|
},
|
|
278
300
|
type: "global",
|
|
301
|
+
category: "takes",
|
|
279
302
|
},
|
|
280
303
|
take_first: {
|
|
281
304
|
id: "take_first",
|
|
@@ -287,6 +310,7 @@ exports.achievementsMap = {
|
|
|
287
310
|
gold: { threshold: 100 },
|
|
288
311
|
},
|
|
289
312
|
type: "global",
|
|
313
|
+
category: "takes",
|
|
290
314
|
},
|
|
291
315
|
hall_of_takes: {
|
|
292
316
|
id: "hall_of_takes",
|
|
@@ -298,6 +322,7 @@ exports.achievementsMap = {
|
|
|
298
322
|
gold: { threshold: 1000 },
|
|
299
323
|
},
|
|
300
324
|
type: "global",
|
|
325
|
+
category: "takes",
|
|
301
326
|
},
|
|
302
327
|
ball_knower: {
|
|
303
328
|
id: "ball_knower",
|
|
@@ -694,6 +719,7 @@ exports.achievementsMap = {
|
|
|
694
719
|
gold: { threshold: 50 },
|
|
695
720
|
},
|
|
696
721
|
type: "global",
|
|
722
|
+
category: "lists",
|
|
697
723
|
},
|
|
698
724
|
fan_in_the_arena: {
|
|
699
725
|
id: "fan_in_the_arena",
|
|
@@ -705,6 +731,7 @@ exports.achievementsMap = {
|
|
|
705
731
|
gold: { threshold: 50 },
|
|
706
732
|
},
|
|
707
733
|
type: "global",
|
|
734
|
+
category: "stadium",
|
|
708
735
|
},
|
|
709
736
|
stadium_pulse: {
|
|
710
737
|
id: "stadium_pulse",
|
|
@@ -716,6 +743,7 @@ exports.achievementsMap = {
|
|
|
716
743
|
gold: { threshold: 50 },
|
|
717
744
|
},
|
|
718
745
|
type: "global",
|
|
746
|
+
category: "stadium",
|
|
719
747
|
},
|
|
720
748
|
flow_state: {
|
|
721
749
|
id: "flow_state",
|
|
@@ -727,6 +755,7 @@ exports.achievementsMap = {
|
|
|
727
755
|
gold: { threshold: 15 },
|
|
728
756
|
},
|
|
729
757
|
type: "global",
|
|
758
|
+
category: "picks",
|
|
730
759
|
},
|
|
731
760
|
crystal_ball: {
|
|
732
761
|
id: "crystal_ball",
|
|
@@ -738,23 +767,27 @@ exports.achievementsMap = {
|
|
|
738
767
|
gold: { threshold: 100 },
|
|
739
768
|
},
|
|
740
769
|
type: "global",
|
|
770
|
+
category: "picks",
|
|
741
771
|
},
|
|
742
772
|
strive_for_greatness: {
|
|
743
773
|
id: "strive_for_greatness",
|
|
744
774
|
name: "Strive for Greatness",
|
|
745
775
|
description: "Correctly pick 23 games in a row.",
|
|
746
776
|
type: "global",
|
|
777
|
+
category: "picks",
|
|
747
778
|
},
|
|
748
779
|
like_mike: {
|
|
749
780
|
id: "like_mike",
|
|
750
781
|
name: "Like Mike",
|
|
751
782
|
description: "Correctly pick 45 games in a row.",
|
|
752
783
|
type: "global",
|
|
784
|
+
category: "picks",
|
|
753
785
|
},
|
|
754
786
|
joltin_joe: {
|
|
755
787
|
id: "joltin_joe",
|
|
756
788
|
name: "Joltin' Joe",
|
|
757
789
|
description: "Correctly pick 56 games in a row (the DiMaggio streak).",
|
|
758
790
|
type: "global",
|
|
791
|
+
category: "picks",
|
|
759
792
|
},
|
|
760
793
|
};
|
package/dist/models/user.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { leagueStatsSchema, createUserSchema, userSchema, reducedUserSchema, searchUserSchema, achievementSchema, changeUsernameSchema } from "../schemas/user";
|
|
2
|
+
import { leagueStatsSchema, createUserSchema, userSchema, reducedUserSchema, searchUserSchema, achievementSchema, changeUsernameSchema, globalAchievementCategorySchema } 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 GlobalAchievementCategory = z.infer<typeof globalAchievementCategorySchema>;
|
|
9
10
|
export type ChangeUsername = z.infer<typeof changeUsernameSchema>;
|
|
10
11
|
export interface UsernameClaim {
|
|
11
12
|
userId: string;
|
|
@@ -6,12 +6,12 @@ export declare const achievementUnlockSourceSchema: z.ZodObject<{
|
|
|
6
6
|
gameId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
type: "none" | "pick" | "rating" | "
|
|
9
|
+
type: "none" | "pick" | "rating" | "profile" | "comment" | "games" | "list" | "stadium_rating" | "experience_rating" | "player_vote" | "follower";
|
|
10
10
|
id?: string | undefined;
|
|
11
11
|
metadata?: Record<string, unknown> | undefined;
|
|
12
12
|
gameId?: string | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
type: "none" | "pick" | "rating" | "
|
|
14
|
+
type: "none" | "pick" | "rating" | "profile" | "comment" | "games" | "list" | "stadium_rating" | "experience_rating" | "player_vote" | "follower";
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
metadata?: Record<string, unknown> | undefined;
|
|
17
17
|
gameId?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const articleEntitySchema: z.ZodObject<{
|
|
|
33
33
|
}>>>;
|
|
34
34
|
gameEntity: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
type: "
|
|
36
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
37
37
|
league?: string | undefined;
|
|
38
38
|
stadiumId?: string | undefined;
|
|
39
39
|
teamId?: string | number | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const articleEntitySchema: z.ZodObject<{
|
|
|
46
46
|
} | null | undefined;
|
|
47
47
|
gameEntity?: any;
|
|
48
48
|
}, {
|
|
49
|
-
type: "
|
|
49
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
50
50
|
league?: string | undefined;
|
|
51
51
|
stadiumId?: string | undefined;
|
|
52
52
|
teamId?: string | number | undefined;
|
|
@@ -94,7 +94,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
94
94
|
}>>>;
|
|
95
95
|
gameEntity: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
type: "
|
|
97
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
98
98
|
league?: string | undefined;
|
|
99
99
|
stadiumId?: string | undefined;
|
|
100
100
|
teamId?: string | number | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
107
107
|
} | null | undefined;
|
|
108
108
|
gameEntity?: any;
|
|
109
109
|
}, {
|
|
110
|
-
type: "
|
|
110
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
111
111
|
league?: string | undefined;
|
|
112
112
|
stadiumId?: string | undefined;
|
|
113
113
|
teamId?: string | number | undefined;
|
|
@@ -1078,9 +1078,6 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1078
1078
|
}>>;
|
|
1079
1079
|
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"ride_or_die">, z.ZodLiteral<"through_thick_n_thin">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">, z.ZodLiteral<"group_stage_glory">, z.ZodLiteral<"six_confederations">, z.ZodLiteral<"world_on_a_string">, z.ZodLiteral<"knockout_king">, z.ZodLiteral<"host_with_the_most">, z.ZodLiteral<"the_golden_globe">, z.ZodLiteral<"world_beater">, z.ZodLiteral<"group_theory">, z.ZodLiteral<"cold_reading">, z.ZodLiteral<"sixteenth_sense">, z.ZodLiteral<"quarter_oracle">, z.ZodLiteral<"penultimate_prophet">, z.ZodLiteral<"called_the_cup">, z.ZodLiteral<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">, z.ZodLiteral<"ballot_box">, z.ZodLiteral<"pin_drop">, z.ZodLiteral<"card_complete">, z.ZodLiteral<"pride_of_a_nation">, z.ZodLiteral<"flow_state">, z.ZodLiteral<"crystal_ball">, z.ZodLiteral<"strive_for_greatness">, z.ZodLiteral<"like_mike">, z.ZodLiteral<"joltin_joe">]>, z.ZodObject<{
|
|
1080
1080
|
id: z.ZodString;
|
|
1081
|
-
/**
|
|
1082
|
-
* Schema for updating an existing article.
|
|
1083
|
-
*/
|
|
1084
1081
|
name: z.ZodString;
|
|
1085
1082
|
description: z.ZodString;
|
|
1086
1083
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1169,7 +1166,10 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1169
1166
|
isOngoing?: boolean | undefined;
|
|
1170
1167
|
}>>>;
|
|
1171
1168
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
1172
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
1169
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>; /**
|
|
1170
|
+
* Thread comment schema for articles.
|
|
1171
|
+
*/
|
|
1172
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating">, z.ZodLiteral<"picks">, z.ZodLiteral<"takes">, z.ZodLiteral<"voting">, z.ZodLiteral<"social">, z.ZodLiteral<"stadium">, z.ZodLiteral<"lists">, z.ZodLiteral<"profile">]>>;
|
|
1173
1173
|
league: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
|
|
1174
1174
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
1175
1175
|
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1206,6 +1206,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1206
1206
|
}> | undefined;
|
|
1207
1207
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1208
1208
|
league?: string | undefined;
|
|
1209
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
1209
1210
|
seasonal?: boolean | undefined;
|
|
1210
1211
|
}, {
|
|
1211
1212
|
id: string;
|
|
@@ -1240,6 +1241,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1240
1241
|
}> | undefined;
|
|
1241
1242
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1242
1243
|
league?: string | undefined;
|
|
1244
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
1243
1245
|
seasonal?: boolean | undefined;
|
|
1244
1246
|
}>>>;
|
|
1245
1247
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1389,7 +1391,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1389
1391
|
imageUrlMedium?: string | null | undefined;
|
|
1390
1392
|
imageUrlSmall?: string | null | undefined;
|
|
1391
1393
|
entities?: {
|
|
1392
|
-
type: "
|
|
1394
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
1393
1395
|
league?: string | undefined;
|
|
1394
1396
|
stadiumId?: string | undefined;
|
|
1395
1397
|
teamId?: string | number | undefined;
|
|
@@ -1424,7 +1426,7 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1424
1426
|
imageUrlMedium?: string | null | undefined;
|
|
1425
1427
|
imageUrlSmall?: string | null | undefined;
|
|
1426
1428
|
entities?: {
|
|
1427
|
-
type: "
|
|
1429
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
1428
1430
|
league?: string | undefined;
|
|
1429
1431
|
stadiumId?: string | undefined;
|
|
1430
1432
|
teamId?: string | number | undefined;
|
|
@@ -1478,7 +1480,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
1478
1480
|
}>>>;
|
|
1479
1481
|
gameEntity: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
1480
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1481
|
-
type: "
|
|
1483
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
1482
1484
|
league?: string | undefined;
|
|
1483
1485
|
stadiumId?: string | undefined;
|
|
1484
1486
|
teamId?: string | number | undefined;
|
|
@@ -1491,7 +1493,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
1491
1493
|
} | null | undefined;
|
|
1492
1494
|
gameEntity?: any;
|
|
1493
1495
|
}, {
|
|
1494
|
-
type: "
|
|
1496
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
1495
1497
|
league?: string | undefined;
|
|
1496
1498
|
stadiumId?: string | undefined;
|
|
1497
1499
|
teamId?: string | number | undefined;
|
|
@@ -2458,9 +2460,6 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2458
2460
|
}>>;
|
|
2459
2461
|
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"ride_or_die">, z.ZodLiteral<"through_thick_n_thin">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">, z.ZodLiteral<"group_stage_glory">, z.ZodLiteral<"six_confederations">, z.ZodLiteral<"world_on_a_string">, z.ZodLiteral<"knockout_king">, z.ZodLiteral<"host_with_the_most">, z.ZodLiteral<"the_golden_globe">, z.ZodLiteral<"world_beater">, z.ZodLiteral<"group_theory">, z.ZodLiteral<"cold_reading">, z.ZodLiteral<"sixteenth_sense">, z.ZodLiteral<"quarter_oracle">, z.ZodLiteral<"penultimate_prophet">, z.ZodLiteral<"called_the_cup">, z.ZodLiteral<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">, z.ZodLiteral<"ballot_box">, z.ZodLiteral<"pin_drop">, z.ZodLiteral<"card_complete">, z.ZodLiteral<"pride_of_a_nation">, z.ZodLiteral<"flow_state">, z.ZodLiteral<"crystal_ball">, z.ZodLiteral<"strive_for_greatness">, z.ZodLiteral<"like_mike">, z.ZodLiteral<"joltin_joe">]>, z.ZodObject<{
|
|
2460
2462
|
id: z.ZodString;
|
|
2461
|
-
/**
|
|
2462
|
-
* Schema for updating an existing article.
|
|
2463
|
-
*/
|
|
2464
2463
|
name: z.ZodString;
|
|
2465
2464
|
description: z.ZodString;
|
|
2466
2465
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2549,7 +2548,10 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2549
2548
|
isOngoing?: boolean | undefined;
|
|
2550
2549
|
}>>>;
|
|
2551
2550
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2552
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
2551
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>; /**
|
|
2552
|
+
* Thread comment schema for articles.
|
|
2553
|
+
*/
|
|
2554
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating">, z.ZodLiteral<"picks">, z.ZodLiteral<"takes">, z.ZodLiteral<"voting">, z.ZodLiteral<"social">, z.ZodLiteral<"stadium">, z.ZodLiteral<"lists">, z.ZodLiteral<"profile">]>>;
|
|
2553
2555
|
league: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
|
|
2554
2556
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
2555
2557
|
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2586,6 +2588,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2586
2588
|
}> | undefined;
|
|
2587
2589
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2588
2590
|
league?: string | undefined;
|
|
2591
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
2589
2592
|
seasonal?: boolean | undefined;
|
|
2590
2593
|
}, {
|
|
2591
2594
|
id: string;
|
|
@@ -2620,6 +2623,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2620
2623
|
}> | undefined;
|
|
2621
2624
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2622
2625
|
league?: string | undefined;
|
|
2626
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
2623
2627
|
seasonal?: boolean | undefined;
|
|
2624
2628
|
}>>>;
|
|
2625
2629
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2762,7 +2766,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2762
2766
|
id?: string | undefined;
|
|
2763
2767
|
imageUrl?: string | null | undefined;
|
|
2764
2768
|
entities?: {
|
|
2765
|
-
type: "
|
|
2769
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2766
2770
|
league?: string | undefined;
|
|
2767
2771
|
stadiumId?: string | undefined;
|
|
2768
2772
|
teamId?: string | number | undefined;
|
|
@@ -2788,7 +2792,7 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2788
2792
|
id?: string | undefined;
|
|
2789
2793
|
imageUrl?: string | null | undefined;
|
|
2790
2794
|
entities?: {
|
|
2791
|
-
type: "
|
|
2795
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2792
2796
|
league?: string | undefined;
|
|
2793
2797
|
stadiumId?: string | undefined;
|
|
2794
2798
|
teamId?: string | number | undefined;
|
|
@@ -2831,7 +2835,7 @@ export declare const updateArticleSchema: z.ZodObject<{
|
|
|
2831
2835
|
}>>>;
|
|
2832
2836
|
gameEntity: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
2833
2837
|
}, "strip", z.ZodTypeAny, {
|
|
2834
|
-
type: "
|
|
2838
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2835
2839
|
league?: string | undefined;
|
|
2836
2840
|
stadiumId?: string | undefined;
|
|
2837
2841
|
teamId?: string | number | undefined;
|
|
@@ -2844,7 +2848,7 @@ export declare const updateArticleSchema: z.ZodObject<{
|
|
|
2844
2848
|
} | null | undefined;
|
|
2845
2849
|
gameEntity?: any;
|
|
2846
2850
|
}, {
|
|
2847
|
-
type: "
|
|
2851
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2848
2852
|
league?: string | undefined;
|
|
2849
2853
|
stadiumId?: string | undefined;
|
|
2850
2854
|
teamId?: string | number | undefined;
|
|
@@ -2862,7 +2866,7 @@ export declare const updateArticleSchema: z.ZodObject<{
|
|
|
2862
2866
|
title?: string | undefined;
|
|
2863
2867
|
imageUrl?: string | null | undefined;
|
|
2864
2868
|
entities?: {
|
|
2865
|
-
type: "
|
|
2869
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2866
2870
|
league?: string | undefined;
|
|
2867
2871
|
stadiumId?: string | undefined;
|
|
2868
2872
|
teamId?: string | number | undefined;
|
|
@@ -2880,7 +2884,7 @@ export declare const updateArticleSchema: z.ZodObject<{
|
|
|
2880
2884
|
title?: string | undefined;
|
|
2881
2885
|
imageUrl?: string | null | undefined;
|
|
2882
2886
|
entities?: {
|
|
2883
|
-
type: "
|
|
2887
|
+
type: "stadium" | "league" | "game" | "team" | "rategame";
|
|
2884
2888
|
league?: string | undefined;
|
|
2885
2889
|
stadiumId?: string | undefined;
|
|
2886
2890
|
teamId?: string | number | undefined;
|
|
@@ -2911,7 +2915,7 @@ export declare const searchArticleSchema: z.ZodObject<{
|
|
|
2911
2915
|
}, "strip", z.ZodTypeAny, {
|
|
2912
2916
|
offset: string;
|
|
2913
2917
|
limit: string;
|
|
2914
|
-
type?: "
|
|
2918
|
+
type?: "stadium" | "league" | "game" | "team" | undefined;
|
|
2915
2919
|
q?: string | undefined;
|
|
2916
2920
|
league?: string | undefined;
|
|
2917
2921
|
stadiumId?: string | undefined;
|
|
@@ -2920,7 +2924,7 @@ export declare const searchArticleSchema: z.ZodObject<{
|
|
|
2920
2924
|
userId?: string | undefined;
|
|
2921
2925
|
gameId?: string | undefined;
|
|
2922
2926
|
}, {
|
|
2923
|
-
type?: "
|
|
2927
|
+
type?: "stadium" | "league" | "game" | "team" | undefined;
|
|
2924
2928
|
offset?: string | undefined;
|
|
2925
2929
|
q?: string | undefined;
|
|
2926
2930
|
league?: string | undefined;
|
|
@@ -3892,9 +3896,6 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
3892
3896
|
}>>;
|
|
3893
3897
|
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"ride_or_die">, z.ZodLiteral<"through_thick_n_thin">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">, z.ZodLiteral<"group_stage_glory">, z.ZodLiteral<"six_confederations">, z.ZodLiteral<"world_on_a_string">, z.ZodLiteral<"knockout_king">, z.ZodLiteral<"host_with_the_most">, z.ZodLiteral<"the_golden_globe">, z.ZodLiteral<"world_beater">, z.ZodLiteral<"group_theory">, z.ZodLiteral<"cold_reading">, z.ZodLiteral<"sixteenth_sense">, z.ZodLiteral<"quarter_oracle">, z.ZodLiteral<"penultimate_prophet">, z.ZodLiteral<"called_the_cup">, z.ZodLiteral<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">, z.ZodLiteral<"ballot_box">, z.ZodLiteral<"pin_drop">, z.ZodLiteral<"card_complete">, z.ZodLiteral<"pride_of_a_nation">, z.ZodLiteral<"flow_state">, z.ZodLiteral<"crystal_ball">, z.ZodLiteral<"strive_for_greatness">, z.ZodLiteral<"like_mike">, z.ZodLiteral<"joltin_joe">]>, z.ZodObject<{
|
|
3894
3898
|
id: z.ZodString;
|
|
3895
|
-
/**
|
|
3896
|
-
* Schema for updating an existing article.
|
|
3897
|
-
*/
|
|
3898
3899
|
name: z.ZodString;
|
|
3899
3900
|
description: z.ZodString;
|
|
3900
3901
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3983,7 +3984,10 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
3983
3984
|
isOngoing?: boolean | undefined;
|
|
3984
3985
|
}>>>;
|
|
3985
3986
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
3986
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
3987
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>; /**
|
|
3988
|
+
* Thread comment schema for articles.
|
|
3989
|
+
*/
|
|
3990
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating">, z.ZodLiteral<"picks">, z.ZodLiteral<"takes">, z.ZodLiteral<"voting">, z.ZodLiteral<"social">, z.ZodLiteral<"stadium">, z.ZodLiteral<"lists">, z.ZodLiteral<"profile">]>>;
|
|
3987
3991
|
league: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
|
|
3988
3992
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
3989
3993
|
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4020,6 +4024,7 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
4020
4024
|
}> | undefined;
|
|
4021
4025
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
4022
4026
|
league?: string | undefined;
|
|
4027
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
4023
4028
|
seasonal?: boolean | undefined;
|
|
4024
4029
|
}, {
|
|
4025
4030
|
id: string;
|
|
@@ -4054,6 +4059,7 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
4054
4059
|
}> | undefined;
|
|
4055
4060
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
4056
4061
|
league?: string | undefined;
|
|
4062
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
4057
4063
|
seasonal?: boolean | undefined;
|
|
4058
4064
|
}>>>;
|
|
4059
4065
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5140,9 +5146,6 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5140
5146
|
}>>;
|
|
5141
5147
|
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"ride_or_die">, z.ZodLiteral<"through_thick_n_thin">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">, z.ZodLiteral<"group_stage_glory">, z.ZodLiteral<"six_confederations">, z.ZodLiteral<"world_on_a_string">, z.ZodLiteral<"knockout_king">, z.ZodLiteral<"host_with_the_most">, z.ZodLiteral<"the_golden_globe">, z.ZodLiteral<"world_beater">, z.ZodLiteral<"group_theory">, z.ZodLiteral<"cold_reading">, z.ZodLiteral<"sixteenth_sense">, z.ZodLiteral<"quarter_oracle">, z.ZodLiteral<"penultimate_prophet">, z.ZodLiteral<"called_the_cup">, z.ZodLiteral<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">, z.ZodLiteral<"ballot_box">, z.ZodLiteral<"pin_drop">, z.ZodLiteral<"card_complete">, z.ZodLiteral<"pride_of_a_nation">, z.ZodLiteral<"flow_state">, z.ZodLiteral<"crystal_ball">, z.ZodLiteral<"strive_for_greatness">, z.ZodLiteral<"like_mike">, z.ZodLiteral<"joltin_joe">]>, z.ZodObject<{
|
|
5142
5148
|
id: z.ZodString;
|
|
5143
|
-
/**
|
|
5144
|
-
* Schema for updating an existing article.
|
|
5145
|
-
*/
|
|
5146
5149
|
name: z.ZodString;
|
|
5147
5150
|
description: z.ZodString;
|
|
5148
5151
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5231,7 +5234,10 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5231
5234
|
isOngoing?: boolean | undefined;
|
|
5232
5235
|
}>>>;
|
|
5233
5236
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
5234
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
5237
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>; /**
|
|
5238
|
+
* Thread comment schema for articles.
|
|
5239
|
+
*/
|
|
5240
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating">, z.ZodLiteral<"picks">, z.ZodLiteral<"takes">, z.ZodLiteral<"voting">, z.ZodLiteral<"social">, z.ZodLiteral<"stadium">, z.ZodLiteral<"lists">, z.ZodLiteral<"profile">]>>;
|
|
5235
5241
|
league: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
|
|
5236
5242
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
5237
5243
|
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5268,6 +5274,7 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5268
5274
|
}> | undefined;
|
|
5269
5275
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
5270
5276
|
league?: string | undefined;
|
|
5277
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
5271
5278
|
seasonal?: boolean | undefined;
|
|
5272
5279
|
}, {
|
|
5273
5280
|
id: string;
|
|
@@ -5302,6 +5309,7 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5302
5309
|
}> | undefined;
|
|
5303
5310
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
5304
5311
|
league?: string | undefined;
|
|
5312
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
5305
5313
|
seasonal?: boolean | undefined;
|
|
5306
5314
|
}>>>;
|
|
5307
5315
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6440,9 +6448,6 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6440
6448
|
}>>;
|
|
6441
6449
|
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"ride_or_die">, z.ZodLiteral<"through_thick_n_thin">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">, z.ZodLiteral<"ball_knower">, z.ZodLiteral<"heating_up">, z.ZodLiteral<"full_court_press">, z.ZodLiteral<"grid_iron_guru">, z.ZodLiteral<"across_the_yard">, z.ZodLiteral<"pigskin_power">, z.ZodLiteral<"goal_getter">, z.ZodLiteral<"footie_fanatic">, z.ZodLiteral<"campaign_conqueror">, z.ZodLiteral<"diamond_hands">, z.ZodLiteral<"field_of_dreams">, z.ZodLiteral<"charlie_hustle">, z.ZodLiteral<"power_play">, z.ZodLiteral<"ice_king">, z.ZodLiteral<"marleau_master">, z.ZodLiteral<"the_admiral">, z.ZodLiteral<"the_kick_six">, z.ZodLiteral<"coin_toss">, z.ZodLiteral<"golden_jacket">, z.ZodLiteral<"pop_the_champagne">, z.ZodLiteral<"game_grower">, z.ZodLiteral<"fandon_donovan">, z.ZodLiteral<"soccer_stud">, z.ZodLiteral<"the_big_o">, z.ZodLiteral<"the_grateful_red">, z.ZodLiteral<"mad_march">, z.ZodLiteral<"the_logo">, z.ZodLiteral<"the_big_dipper">, z.ZodLiteral<"mid_table">, z.ZodLiteral<"fan_of_the_match">, z.ZodLiteral<"super_mario">, z.ZodLiteral<"dick_butkus">, z.ZodLiteral<"hit_the_heismann">, z.ZodLiteral<"lobos_legacy">, z.ZodLiteral<"tau3asi">, z.ZodLiteral<"queenb">, z.ZodLiteral<"rookie_rater">, z.ZodLiteral<"six_three">, z.ZodLiteral<"groupie">, z.ZodLiteral<"for_your_confederations">, z.ZodLiteral<"group_stage_glory">, z.ZodLiteral<"six_confederations">, z.ZodLiteral<"world_on_a_string">, z.ZodLiteral<"knockout_king">, z.ZodLiteral<"host_with_the_most">, z.ZodLiteral<"the_golden_globe">, z.ZodLiteral<"world_beater">, z.ZodLiteral<"group_theory">, z.ZodLiteral<"cold_reading">, z.ZodLiteral<"sixteenth_sense">, z.ZodLiteral<"quarter_oracle">, z.ZodLiteral<"penultimate_prophet">, z.ZodLiteral<"called_the_cup">, z.ZodLiteral<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">, z.ZodLiteral<"ballot_box">, z.ZodLiteral<"pin_drop">, z.ZodLiteral<"card_complete">, z.ZodLiteral<"pride_of_a_nation">, z.ZodLiteral<"flow_state">, z.ZodLiteral<"crystal_ball">, z.ZodLiteral<"strive_for_greatness">, z.ZodLiteral<"like_mike">, z.ZodLiteral<"joltin_joe">]>, z.ZodObject<{
|
|
6442
6450
|
id: z.ZodString;
|
|
6443
|
-
/**
|
|
6444
|
-
* Schema for updating an existing article.
|
|
6445
|
-
*/
|
|
6446
6451
|
name: z.ZodString;
|
|
6447
6452
|
description: z.ZodString;
|
|
6448
6453
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6531,7 +6536,10 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6531
6536
|
isOngoing?: boolean | undefined;
|
|
6532
6537
|
}>>>;
|
|
6533
6538
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
6534
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
6539
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>; /**
|
|
6540
|
+
* Thread comment schema for articles.
|
|
6541
|
+
*/
|
|
6542
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating">, z.ZodLiteral<"picks">, z.ZodLiteral<"takes">, z.ZodLiteral<"voting">, z.ZodLiteral<"social">, z.ZodLiteral<"stadium">, z.ZodLiteral<"lists">, z.ZodLiteral<"profile">]>>;
|
|
6535
6543
|
league: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>, z.ZodString]>>;
|
|
6536
6544
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
6537
6545
|
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6568,6 +6576,7 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6568
6576
|
}> | undefined;
|
|
6569
6577
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
6570
6578
|
league?: string | undefined;
|
|
6579
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
6571
6580
|
seasonal?: boolean | undefined;
|
|
6572
6581
|
}, {
|
|
6573
6582
|
id: string;
|
|
@@ -6602,6 +6611,7 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6602
6611
|
}> | undefined;
|
|
6603
6612
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
6604
6613
|
league?: string | undefined;
|
|
6614
|
+
category?: "rating" | "picks" | "takes" | "voting" | "social" | "stadium" | "lists" | "profile" | undefined;
|
|
6605
6615
|
seasonal?: boolean | undefined;
|
|
6606
6616
|
}>>>;
|
|
6607
6617
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|