rategame-shared 1.1.308 → 1.1.310
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 +44 -0
- package/dist/schemas/chat.d.ts +80 -15
- package/dist/schemas/game.d.ts +320 -60
- package/dist/schemas/list.d.ts +80 -15
- package/dist/schemas/moderation.d.ts +64 -12
- package/dist/schemas/rating.d.ts +48 -9
- package/dist/schemas/stadium.d.ts +64 -12
- package/dist/schemas/user.d.ts +92 -20
- package/dist/schemas/user.js +6 -0
- package/dist/schemas/userEvent.d.ts +53 -9
- package/dist/schemas/userEvent.js +1 -0
- package/dist/schemas/voting.d.ts +144 -27
- package/package.json +1 -1
package/dist/schemas/user.d.ts
CHANGED
|
@@ -35,22 +35,28 @@ export declare const leagueStatsSchema: z.ZodObject<{
|
|
|
35
35
|
weightedRating: number;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
|
-
export declare const achievementId: 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<"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">]>;
|
|
38
|
+
export declare const achievementId: 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<"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<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">]>;
|
|
39
39
|
export declare const oneTimeProgressSchema: z.ZodObject<{
|
|
40
40
|
current: z.ZodNumber;
|
|
41
41
|
target: z.ZodNumber;
|
|
42
42
|
label: z.ZodOptional<z.ZodString>;
|
|
43
43
|
context: z.ZodOptional<z.ZodString>;
|
|
44
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
44
46
|
}, "strip", z.ZodTypeAny, {
|
|
45
47
|
target: number;
|
|
46
48
|
current: number;
|
|
47
49
|
label?: string | undefined;
|
|
48
50
|
context?: string | undefined;
|
|
51
|
+
achievedAt?: number | undefined;
|
|
52
|
+
seen?: boolean | undefined;
|
|
49
53
|
}, {
|
|
50
54
|
target: number;
|
|
51
55
|
current: number;
|
|
52
56
|
label?: string | undefined;
|
|
53
57
|
context?: string | undefined;
|
|
58
|
+
achievedAt?: number | undefined;
|
|
59
|
+
seen?: boolean | undefined;
|
|
54
60
|
}>;
|
|
55
61
|
export declare const achievementSchema: z.ZodObject<{
|
|
56
62
|
id: z.ZodString;
|
|
@@ -121,27 +127,35 @@ export declare const achievementSchema: z.ZodObject<{
|
|
|
121
127
|
target: z.ZodNumber;
|
|
122
128
|
label: z.ZodOptional<z.ZodString>;
|
|
123
129
|
context: z.ZodOptional<z.ZodString>;
|
|
130
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
124
132
|
}, "strip", z.ZodTypeAny, {
|
|
125
133
|
target: number;
|
|
126
134
|
current: number;
|
|
127
135
|
label?: string | undefined;
|
|
128
136
|
context?: string | undefined;
|
|
137
|
+
achievedAt?: number | undefined;
|
|
138
|
+
seen?: boolean | undefined;
|
|
129
139
|
}, {
|
|
130
140
|
target: number;
|
|
131
141
|
current: number;
|
|
132
142
|
label?: string | undefined;
|
|
133
143
|
context?: string | undefined;
|
|
144
|
+
achievedAt?: number | undefined;
|
|
145
|
+
seen?: boolean | undefined;
|
|
134
146
|
}>>>;
|
|
135
147
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
136
148
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
137
149
|
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
138
150
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
151
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
139
152
|
}, "strip", z.ZodTypeAny, {
|
|
140
153
|
id: string;
|
|
141
154
|
name: string;
|
|
142
155
|
description: string;
|
|
143
156
|
type?: "global" | "sport" | "league" | undefined;
|
|
144
157
|
progress?: number | undefined;
|
|
158
|
+
seen?: boolean | undefined;
|
|
145
159
|
tiers?: {
|
|
146
160
|
bronze: {
|
|
147
161
|
threshold: number;
|
|
@@ -162,16 +176,19 @@ export declare const achievementSchema: z.ZodObject<{
|
|
|
162
176
|
current: number;
|
|
163
177
|
label?: string | undefined;
|
|
164
178
|
context?: string | undefined;
|
|
179
|
+
achievedAt?: number | undefined;
|
|
180
|
+
seen?: boolean | undefined;
|
|
165
181
|
}> | undefined;
|
|
166
|
-
seen?: boolean | undefined;
|
|
167
182
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
168
183
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
184
|
+
seasonal?: boolean | undefined;
|
|
169
185
|
}, {
|
|
170
186
|
id: string;
|
|
171
187
|
name: string;
|
|
172
188
|
description: string;
|
|
173
189
|
type?: "global" | "sport" | "league" | undefined;
|
|
174
190
|
progress?: number | undefined;
|
|
191
|
+
seen?: boolean | undefined;
|
|
175
192
|
tiers?: {
|
|
176
193
|
bronze: {
|
|
177
194
|
threshold: number;
|
|
@@ -192,10 +209,12 @@ export declare const achievementSchema: z.ZodObject<{
|
|
|
192
209
|
current: number;
|
|
193
210
|
label?: string | undefined;
|
|
194
211
|
context?: string | undefined;
|
|
212
|
+
achievedAt?: number | undefined;
|
|
213
|
+
seen?: boolean | undefined;
|
|
195
214
|
}> | undefined;
|
|
196
|
-
seen?: boolean | undefined;
|
|
197
215
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
198
216
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
217
|
+
seasonal?: boolean | undefined;
|
|
199
218
|
}>;
|
|
200
219
|
export declare const userSchema: z.ZodObject<{
|
|
201
220
|
id: z.ZodString;
|
|
@@ -1034,7 +1053,7 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1034
1053
|
count: number;
|
|
1035
1054
|
}[] | undefined;
|
|
1036
1055
|
}>>;
|
|
1037
|
-
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<"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.ZodObject<{
|
|
1056
|
+
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<"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<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">]>, z.ZodObject<{
|
|
1038
1057
|
id: z.ZodString;
|
|
1039
1058
|
name: z.ZodString;
|
|
1040
1059
|
description: z.ZodString;
|
|
@@ -1103,27 +1122,35 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1103
1122
|
target: z.ZodNumber;
|
|
1104
1123
|
label: z.ZodOptional<z.ZodString>;
|
|
1105
1124
|
context: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
1126
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
1106
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1107
1128
|
target: number;
|
|
1108
1129
|
current: number;
|
|
1109
1130
|
label?: string | undefined;
|
|
1110
1131
|
context?: string | undefined;
|
|
1132
|
+
achievedAt?: number | undefined;
|
|
1133
|
+
seen?: boolean | undefined;
|
|
1111
1134
|
}, {
|
|
1112
1135
|
target: number;
|
|
1113
1136
|
current: number;
|
|
1114
1137
|
label?: string | undefined;
|
|
1115
1138
|
context?: string | undefined;
|
|
1139
|
+
achievedAt?: number | undefined;
|
|
1140
|
+
seen?: boolean | undefined;
|
|
1116
1141
|
}>>>;
|
|
1117
1142
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
1118
1143
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
1119
1144
|
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
1120
1145
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
1146
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
1121
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1122
1148
|
id: string;
|
|
1123
1149
|
name: string;
|
|
1124
1150
|
description: string;
|
|
1125
1151
|
type?: "global" | "sport" | "league" | undefined;
|
|
1126
1152
|
progress?: number | undefined;
|
|
1153
|
+
seen?: boolean | undefined;
|
|
1127
1154
|
tiers?: {
|
|
1128
1155
|
bronze: {
|
|
1129
1156
|
threshold: number;
|
|
@@ -1144,16 +1171,19 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1144
1171
|
current: number;
|
|
1145
1172
|
label?: string | undefined;
|
|
1146
1173
|
context?: string | undefined;
|
|
1174
|
+
achievedAt?: number | undefined;
|
|
1175
|
+
seen?: boolean | undefined;
|
|
1147
1176
|
}> | undefined;
|
|
1148
|
-
seen?: boolean | undefined;
|
|
1149
1177
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1150
1178
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1179
|
+
seasonal?: boolean | undefined;
|
|
1151
1180
|
}, {
|
|
1152
1181
|
id: string;
|
|
1153
1182
|
name: string;
|
|
1154
1183
|
description: string;
|
|
1155
1184
|
type?: "global" | "sport" | "league" | undefined;
|
|
1156
1185
|
progress?: number | undefined;
|
|
1186
|
+
seen?: boolean | undefined;
|
|
1157
1187
|
tiers?: {
|
|
1158
1188
|
bronze: {
|
|
1159
1189
|
threshold: number;
|
|
@@ -1174,10 +1204,12 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1174
1204
|
current: number;
|
|
1175
1205
|
label?: string | undefined;
|
|
1176
1206
|
context?: string | undefined;
|
|
1207
|
+
achievedAt?: number | undefined;
|
|
1208
|
+
seen?: boolean | undefined;
|
|
1177
1209
|
}> | undefined;
|
|
1178
|
-
seen?: boolean | undefined;
|
|
1179
1210
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1180
1211
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1212
|
+
seasonal?: boolean | undefined;
|
|
1181
1213
|
}>>>;
|
|
1182
1214
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1183
1215
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1443,12 +1475,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1443
1475
|
count: number;
|
|
1444
1476
|
}[] | undefined;
|
|
1445
1477
|
} | undefined;
|
|
1446
|
-
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations", {
|
|
1478
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations" | "a_list" | "fan_in_the_arena" | "stadium_pulse", {
|
|
1447
1479
|
id: string;
|
|
1448
1480
|
name: string;
|
|
1449
1481
|
description: string;
|
|
1450
1482
|
type?: "global" | "sport" | "league" | undefined;
|
|
1451
1483
|
progress?: number | undefined;
|
|
1484
|
+
seen?: boolean | undefined;
|
|
1452
1485
|
tiers?: {
|
|
1453
1486
|
bronze: {
|
|
1454
1487
|
threshold: number;
|
|
@@ -1469,10 +1502,12 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1469
1502
|
current: number;
|
|
1470
1503
|
label?: string | undefined;
|
|
1471
1504
|
context?: string | undefined;
|
|
1505
|
+
achievedAt?: number | undefined;
|
|
1506
|
+
seen?: boolean | undefined;
|
|
1472
1507
|
}> | undefined;
|
|
1473
|
-
seen?: boolean | undefined;
|
|
1474
1508
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1475
1509
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1510
|
+
seasonal?: boolean | undefined;
|
|
1476
1511
|
}>> | undefined;
|
|
1477
1512
|
repliesLeft?: number | undefined;
|
|
1478
1513
|
listRepliesLeft?: number | undefined;
|
|
@@ -1704,12 +1739,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1704
1739
|
count: number;
|
|
1705
1740
|
}[] | undefined;
|
|
1706
1741
|
} | undefined;
|
|
1707
|
-
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations", {
|
|
1742
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations" | "a_list" | "fan_in_the_arena" | "stadium_pulse", {
|
|
1708
1743
|
id: string;
|
|
1709
1744
|
name: string;
|
|
1710
1745
|
description: string;
|
|
1711
1746
|
type?: "global" | "sport" | "league" | undefined;
|
|
1712
1747
|
progress?: number | undefined;
|
|
1748
|
+
seen?: boolean | undefined;
|
|
1713
1749
|
tiers?: {
|
|
1714
1750
|
bronze: {
|
|
1715
1751
|
threshold: number;
|
|
@@ -1730,10 +1766,12 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1730
1766
|
current: number;
|
|
1731
1767
|
label?: string | undefined;
|
|
1732
1768
|
context?: string | undefined;
|
|
1769
|
+
achievedAt?: number | undefined;
|
|
1770
|
+
seen?: boolean | undefined;
|
|
1733
1771
|
}> | undefined;
|
|
1734
|
-
seen?: boolean | undefined;
|
|
1735
1772
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1736
1773
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1774
|
+
seasonal?: boolean | undefined;
|
|
1737
1775
|
}>> | undefined;
|
|
1738
1776
|
repliesLeft?: number | undefined;
|
|
1739
1777
|
listRepliesLeft?: number | undefined;
|
|
@@ -2598,7 +2636,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2598
2636
|
count: number;
|
|
2599
2637
|
}[] | undefined;
|
|
2600
2638
|
}>>;
|
|
2601
|
-
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<"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.ZodObject<{
|
|
2639
|
+
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<"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<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">]>, z.ZodObject<{
|
|
2602
2640
|
id: z.ZodString;
|
|
2603
2641
|
name: z.ZodString;
|
|
2604
2642
|
description: z.ZodString;
|
|
@@ -2667,27 +2705,35 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2667
2705
|
target: z.ZodNumber;
|
|
2668
2706
|
label: z.ZodOptional<z.ZodString>;
|
|
2669
2707
|
context: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
2709
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2670
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2671
2711
|
target: number;
|
|
2672
2712
|
current: number;
|
|
2673
2713
|
label?: string | undefined;
|
|
2674
2714
|
context?: string | undefined;
|
|
2715
|
+
achievedAt?: number | undefined;
|
|
2716
|
+
seen?: boolean | undefined;
|
|
2675
2717
|
}, {
|
|
2676
2718
|
target: number;
|
|
2677
2719
|
current: number;
|
|
2678
2720
|
label?: string | undefined;
|
|
2679
2721
|
context?: string | undefined;
|
|
2722
|
+
achievedAt?: number | undefined;
|
|
2723
|
+
seen?: boolean | undefined;
|
|
2680
2724
|
}>>>;
|
|
2681
2725
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2682
2726
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
2683
2727
|
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
2684
2728
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
2729
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
2685
2730
|
}, "strip", z.ZodTypeAny, {
|
|
2686
2731
|
id: string;
|
|
2687
2732
|
name: string;
|
|
2688
2733
|
description: string;
|
|
2689
2734
|
type?: "global" | "sport" | "league" | undefined;
|
|
2690
2735
|
progress?: number | undefined;
|
|
2736
|
+
seen?: boolean | undefined;
|
|
2691
2737
|
tiers?: {
|
|
2692
2738
|
bronze: {
|
|
2693
2739
|
threshold: number;
|
|
@@ -2708,16 +2754,19 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2708
2754
|
current: number;
|
|
2709
2755
|
label?: string | undefined;
|
|
2710
2756
|
context?: string | undefined;
|
|
2757
|
+
achievedAt?: number | undefined;
|
|
2758
|
+
seen?: boolean | undefined;
|
|
2711
2759
|
}> | undefined;
|
|
2712
|
-
seen?: boolean | undefined;
|
|
2713
2760
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2714
2761
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2762
|
+
seasonal?: boolean | undefined;
|
|
2715
2763
|
}, {
|
|
2716
2764
|
id: string;
|
|
2717
2765
|
name: string;
|
|
2718
2766
|
description: string;
|
|
2719
2767
|
type?: "global" | "sport" | "league" | undefined;
|
|
2720
2768
|
progress?: number | undefined;
|
|
2769
|
+
seen?: boolean | undefined;
|
|
2721
2770
|
tiers?: {
|
|
2722
2771
|
bronze: {
|
|
2723
2772
|
threshold: number;
|
|
@@ -2738,10 +2787,12 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2738
2787
|
current: number;
|
|
2739
2788
|
label?: string | undefined;
|
|
2740
2789
|
context?: string | undefined;
|
|
2790
|
+
achievedAt?: number | undefined;
|
|
2791
|
+
seen?: boolean | undefined;
|
|
2741
2792
|
}> | undefined;
|
|
2742
|
-
seen?: boolean | undefined;
|
|
2743
2793
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2744
2794
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2795
|
+
seasonal?: boolean | undefined;
|
|
2745
2796
|
}>>>;
|
|
2746
2797
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2747
2798
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2996,12 +3047,13 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2996
3047
|
count: number;
|
|
2997
3048
|
}[] | undefined;
|
|
2998
3049
|
} | undefined;
|
|
2999
|
-
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations", {
|
|
3050
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations" | "a_list" | "fan_in_the_arena" | "stadium_pulse", {
|
|
3000
3051
|
id: string;
|
|
3001
3052
|
name: string;
|
|
3002
3053
|
description: string;
|
|
3003
3054
|
type?: "global" | "sport" | "league" | undefined;
|
|
3004
3055
|
progress?: number | undefined;
|
|
3056
|
+
seen?: boolean | undefined;
|
|
3005
3057
|
tiers?: {
|
|
3006
3058
|
bronze: {
|
|
3007
3059
|
threshold: number;
|
|
@@ -3022,10 +3074,12 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
3022
3074
|
current: number;
|
|
3023
3075
|
label?: string | undefined;
|
|
3024
3076
|
context?: string | undefined;
|
|
3077
|
+
achievedAt?: number | undefined;
|
|
3078
|
+
seen?: boolean | undefined;
|
|
3025
3079
|
}> | undefined;
|
|
3026
|
-
seen?: boolean | undefined;
|
|
3027
3080
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3028
3081
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3082
|
+
seasonal?: boolean | undefined;
|
|
3029
3083
|
}>> | undefined;
|
|
3030
3084
|
repliesLeft?: number | undefined;
|
|
3031
3085
|
listRepliesLeft?: number | undefined;
|
|
@@ -3246,12 +3300,13 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
3246
3300
|
count: number;
|
|
3247
3301
|
}[] | undefined;
|
|
3248
3302
|
} | undefined;
|
|
3249
|
-
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations", {
|
|
3303
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club" | "ball_knower" | "heating_up" | "full_court_press" | "grid_iron_guru" | "across_the_yard" | "pigskin_power" | "goal_getter" | "footie_fanatic" | "campaign_conqueror" | "diamond_hands" | "field_of_dreams" | "charlie_hustle" | "power_play" | "ice_king" | "marleau_master" | "the_admiral" | "the_kick_six" | "coin_toss" | "golden_jacket" | "pop_the_champagne" | "game_grower" | "fandon_donovan" | "soccer_stud" | "the_big_o" | "the_grateful_red" | "mad_march" | "the_logo" | "the_big_dipper" | "mid_table" | "fan_of_the_match" | "super_mario" | "dick_butkus" | "hit_the_heismann" | "lobos_legacy" | "tau3asi" | "queenb" | "rookie_rater" | "six_three" | "groupie" | "for_your_confederations" | "a_list" | "fan_in_the_arena" | "stadium_pulse", {
|
|
3250
3304
|
id: string;
|
|
3251
3305
|
name: string;
|
|
3252
3306
|
description: string;
|
|
3253
3307
|
type?: "global" | "sport" | "league" | undefined;
|
|
3254
3308
|
progress?: number | undefined;
|
|
3309
|
+
seen?: boolean | undefined;
|
|
3255
3310
|
tiers?: {
|
|
3256
3311
|
bronze: {
|
|
3257
3312
|
threshold: number;
|
|
@@ -3272,10 +3327,12 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
3272
3327
|
current: number;
|
|
3273
3328
|
label?: string | undefined;
|
|
3274
3329
|
context?: string | undefined;
|
|
3330
|
+
achievedAt?: number | undefined;
|
|
3331
|
+
seen?: boolean | undefined;
|
|
3275
3332
|
}> | undefined;
|
|
3276
|
-
seen?: boolean | undefined;
|
|
3277
3333
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3278
3334
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3335
|
+
seasonal?: boolean | undefined;
|
|
3279
3336
|
}>> | undefined;
|
|
3280
3337
|
repliesLeft?: number | undefined;
|
|
3281
3338
|
listRepliesLeft?: number | undefined;
|
|
@@ -4140,7 +4197,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
|
4140
4197
|
count: number;
|
|
4141
4198
|
}[] | undefined;
|
|
4142
4199
|
}>>;
|
|
4143
|
-
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<"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.ZodObject<{
|
|
4200
|
+
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<"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<"a_list">, z.ZodLiteral<"fan_in_the_arena">, z.ZodLiteral<"stadium_pulse">]>, z.ZodObject<{
|
|
4144
4201
|
id: z.ZodString;
|
|
4145
4202
|
name: z.ZodString;
|
|
4146
4203
|
description: z.ZodString;
|
|
@@ -4209,27 +4266,35 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
|
4209
4266
|
target: z.ZodNumber;
|
|
4210
4267
|
label: z.ZodOptional<z.ZodString>;
|
|
4211
4268
|
context: z.ZodOptional<z.ZodString>;
|
|
4269
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
4270
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
4212
4271
|
}, "strip", z.ZodTypeAny, {
|
|
4213
4272
|
target: number;
|
|
4214
4273
|
current: number;
|
|
4215
4274
|
label?: string | undefined;
|
|
4216
4275
|
context?: string | undefined;
|
|
4276
|
+
achievedAt?: number | undefined;
|
|
4277
|
+
seen?: boolean | undefined;
|
|
4217
4278
|
}, {
|
|
4218
4279
|
target: number;
|
|
4219
4280
|
current: number;
|
|
4220
4281
|
label?: string | undefined;
|
|
4221
4282
|
context?: string | undefined;
|
|
4283
|
+
achievedAt?: number | undefined;
|
|
4284
|
+
seen?: boolean | undefined;
|
|
4222
4285
|
}>>>;
|
|
4223
4286
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
4224
4287
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
4225
4288
|
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
4226
4289
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
4290
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
4227
4291
|
}, "strip", z.ZodTypeAny, {
|
|
4228
4292
|
id: string;
|
|
4229
4293
|
name: string;
|
|
4230
4294
|
description: string;
|
|
4231
4295
|
type?: "global" | "sport" | "league" | undefined;
|
|
4232
4296
|
progress?: number | undefined;
|
|
4297
|
+
seen?: boolean | undefined;
|
|
4233
4298
|
tiers?: {
|
|
4234
4299
|
bronze: {
|
|
4235
4300
|
threshold: number;
|
|
@@ -4250,16 +4315,19 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
|
4250
4315
|
current: number;
|
|
4251
4316
|
label?: string | undefined;
|
|
4252
4317
|
context?: string | undefined;
|
|
4318
|
+
achievedAt?: number | undefined;
|
|
4319
|
+
seen?: boolean | undefined;
|
|
4253
4320
|
}> | undefined;
|
|
4254
|
-
seen?: boolean | undefined;
|
|
4255
4321
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
4256
4322
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
4323
|
+
seasonal?: boolean | undefined;
|
|
4257
4324
|
}, {
|
|
4258
4325
|
id: string;
|
|
4259
4326
|
name: string;
|
|
4260
4327
|
description: string;
|
|
4261
4328
|
type?: "global" | "sport" | "league" | undefined;
|
|
4262
4329
|
progress?: number | undefined;
|
|
4330
|
+
seen?: boolean | undefined;
|
|
4263
4331
|
tiers?: {
|
|
4264
4332
|
bronze: {
|
|
4265
4333
|
threshold: number;
|
|
@@ -4280,10 +4348,12 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
|
4280
4348
|
current: number;
|
|
4281
4349
|
label?: string | undefined;
|
|
4282
4350
|
context?: string | undefined;
|
|
4351
|
+
achievedAt?: number | undefined;
|
|
4352
|
+
seen?: boolean | undefined;
|
|
4283
4353
|
}> | undefined;
|
|
4284
|
-
seen?: boolean | undefined;
|
|
4285
4354
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
4286
4355
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
4356
|
+
seasonal?: boolean | undefined;
|
|
4287
4357
|
}>>>;
|
|
4288
4358
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4289
4359
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4375,6 +4445,8 @@ export interface OneTimeProgressUpdate {
|
|
|
4375
4445
|
target: number;
|
|
4376
4446
|
label?: string;
|
|
4377
4447
|
context?: string;
|
|
4448
|
+
achievedAt?: number;
|
|
4449
|
+
seen?: boolean;
|
|
4378
4450
|
}
|
|
4379
4451
|
export interface OneTimeProgressResult {
|
|
4380
4452
|
updatedProgress: Record<string, OneTimeProgressUpdate>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -72,12 +72,17 @@ exports.achievementId = (0, zod_1.union)([
|
|
|
72
72
|
(0, zod_1.literal)("six_three"),
|
|
73
73
|
(0, zod_1.literal)("groupie"),
|
|
74
74
|
(0, zod_1.literal)("for_your_confederations"),
|
|
75
|
+
(0, zod_1.literal)("a_list"),
|
|
76
|
+
(0, zod_1.literal)("fan_in_the_arena"),
|
|
77
|
+
(0, zod_1.literal)("stadium_pulse"),
|
|
75
78
|
]);
|
|
76
79
|
exports.oneTimeProgressSchema = (0, zod_1.object)({
|
|
77
80
|
current: (0, zod_1.number)(),
|
|
78
81
|
target: (0, zod_1.number)(),
|
|
79
82
|
label: (0, zod_1.string)().optional(),
|
|
80
83
|
context: (0, zod_1.string)().optional(),
|
|
84
|
+
achievedAt: (0, zod_1.number)().optional(),
|
|
85
|
+
seen: (0, zod_1.boolean)().optional(),
|
|
81
86
|
});
|
|
82
87
|
exports.achievementSchema = (0, zod_1.object)({
|
|
83
88
|
id: (0, zod_1.string)(),
|
|
@@ -114,6 +119,7 @@ exports.achievementSchema = (0, zod_1.object)({
|
|
|
114
119
|
(0, zod_1.literal)("baseball"),
|
|
115
120
|
(0, zod_1.literal)("hockey"),
|
|
116
121
|
]).optional(),
|
|
122
|
+
seasonal: (0, zod_1.boolean)().optional(),
|
|
117
123
|
});
|
|
118
124
|
exports.userSchema = (0, zod_1.object)({
|
|
119
125
|
id: (0, zod_1.string)(),
|