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
|
@@ -9,18 +9,21 @@ export declare const userEventSchema: z.ZodObject<{
|
|
|
9
9
|
achievementDescription: z.ZodString;
|
|
10
10
|
tier: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
progress: z.ZodNumber;
|
|
12
|
+
seasonKey: z.ZodOptional<z.ZodString>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
progress: number;
|
|
14
15
|
achievementId: string;
|
|
15
16
|
achievementName: string;
|
|
16
17
|
achievementDescription: string;
|
|
17
18
|
tier?: number | undefined;
|
|
19
|
+
seasonKey?: string | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
progress: number;
|
|
20
22
|
achievementId: string;
|
|
21
23
|
achievementName: string;
|
|
22
24
|
achievementDescription: string;
|
|
23
25
|
tier?: number | undefined;
|
|
26
|
+
seasonKey?: string | undefined;
|
|
24
27
|
}>, z.ZodObject<{
|
|
25
28
|
streakNumber: z.ZodNumber;
|
|
26
29
|
milestone: z.ZodNumber;
|
|
@@ -76,6 +79,7 @@ export declare const userEventSchema: z.ZodObject<{
|
|
|
76
79
|
achievementName: string;
|
|
77
80
|
achievementDescription: string;
|
|
78
81
|
tier?: number | undefined;
|
|
82
|
+
seasonKey?: string | undefined;
|
|
79
83
|
} | {
|
|
80
84
|
streakNumber: number;
|
|
81
85
|
milestone: number;
|
|
@@ -101,6 +105,7 @@ export declare const userEventSchema: z.ZodObject<{
|
|
|
101
105
|
achievementName: string;
|
|
102
106
|
achievementDescription: string;
|
|
103
107
|
tier?: number | undefined;
|
|
108
|
+
seasonKey?: string | undefined;
|
|
104
109
|
} | {
|
|
105
110
|
streakNumber: number;
|
|
106
111
|
milestone: number;
|
|
@@ -951,7 +956,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
951
956
|
count: number;
|
|
952
957
|
}[] | undefined;
|
|
953
958
|
}>>;
|
|
954
|
-
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<{
|
|
959
|
+
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<{
|
|
955
960
|
id: z.ZodString;
|
|
956
961
|
name: z.ZodString;
|
|
957
962
|
description: z.ZodString;
|
|
@@ -1020,27 +1025,35 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1020
1025
|
target: z.ZodNumber;
|
|
1021
1026
|
label: z.ZodOptional<z.ZodString>;
|
|
1022
1027
|
context: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
1029
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
1023
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1024
1031
|
target: number;
|
|
1025
1032
|
current: number;
|
|
1026
1033
|
label?: string | undefined;
|
|
1027
1034
|
context?: string | undefined;
|
|
1035
|
+
achievedAt?: number | undefined;
|
|
1036
|
+
seen?: boolean | undefined;
|
|
1028
1037
|
}, {
|
|
1029
1038
|
target: number;
|
|
1030
1039
|
current: number;
|
|
1031
1040
|
label?: string | undefined;
|
|
1032
1041
|
context?: string | undefined;
|
|
1042
|
+
achievedAt?: number | undefined;
|
|
1043
|
+
seen?: boolean | undefined;
|
|
1033
1044
|
}>>>;
|
|
1034
1045
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
1035
1046
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
1036
1047
|
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">]>>;
|
|
1037
1048
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
1049
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
1038
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1039
1051
|
id: string;
|
|
1040
1052
|
name: string;
|
|
1041
1053
|
description: string;
|
|
1042
1054
|
type?: "global" | "sport" | "league" | undefined;
|
|
1043
1055
|
progress?: number | undefined;
|
|
1056
|
+
seen?: boolean | undefined;
|
|
1044
1057
|
tiers?: {
|
|
1045
1058
|
bronze: {
|
|
1046
1059
|
threshold: number;
|
|
@@ -1061,16 +1074,19 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1061
1074
|
current: number;
|
|
1062
1075
|
label?: string | undefined;
|
|
1063
1076
|
context?: string | undefined;
|
|
1077
|
+
achievedAt?: number | undefined;
|
|
1078
|
+
seen?: boolean | undefined;
|
|
1064
1079
|
}> | undefined;
|
|
1065
|
-
seen?: boolean | undefined;
|
|
1066
1080
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1067
1081
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1082
|
+
seasonal?: boolean | undefined;
|
|
1068
1083
|
}, {
|
|
1069
1084
|
id: string;
|
|
1070
1085
|
name: string;
|
|
1071
1086
|
description: string;
|
|
1072
1087
|
type?: "global" | "sport" | "league" | undefined;
|
|
1073
1088
|
progress?: number | undefined;
|
|
1089
|
+
seen?: boolean | undefined;
|
|
1074
1090
|
tiers?: {
|
|
1075
1091
|
bronze: {
|
|
1076
1092
|
threshold: number;
|
|
@@ -1091,10 +1107,12 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1091
1107
|
current: number;
|
|
1092
1108
|
label?: string | undefined;
|
|
1093
1109
|
context?: string | undefined;
|
|
1110
|
+
achievedAt?: number | undefined;
|
|
1111
|
+
seen?: boolean | undefined;
|
|
1094
1112
|
}> | undefined;
|
|
1095
|
-
seen?: boolean | undefined;
|
|
1096
1113
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
1097
1114
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1115
|
+
seasonal?: boolean | undefined;
|
|
1098
1116
|
}>>>;
|
|
1099
1117
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1100
1118
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2008,7 +2026,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
2008
2026
|
count: number;
|
|
2009
2027
|
}[] | undefined;
|
|
2010
2028
|
}>>;
|
|
2011
|
-
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<{
|
|
2029
|
+
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<{
|
|
2012
2030
|
id: z.ZodString;
|
|
2013
2031
|
name: z.ZodString;
|
|
2014
2032
|
description: z.ZodString;
|
|
@@ -2077,27 +2095,35 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
2077
2095
|
target: z.ZodNumber;
|
|
2078
2096
|
label: z.ZodOptional<z.ZodString>;
|
|
2079
2097
|
context: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
2099
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2080
2100
|
}, "strip", z.ZodTypeAny, {
|
|
2081
2101
|
target: number;
|
|
2082
2102
|
current: number;
|
|
2083
2103
|
label?: string | undefined;
|
|
2084
2104
|
context?: string | undefined;
|
|
2105
|
+
achievedAt?: number | undefined;
|
|
2106
|
+
seen?: boolean | undefined;
|
|
2085
2107
|
}, {
|
|
2086
2108
|
target: number;
|
|
2087
2109
|
current: number;
|
|
2088
2110
|
label?: string | undefined;
|
|
2089
2111
|
context?: string | undefined;
|
|
2112
|
+
achievedAt?: number | undefined;
|
|
2113
|
+
seen?: boolean | undefined;
|
|
2090
2114
|
}>>>;
|
|
2091
2115
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
2092
2116
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
2093
2117
|
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">]>>;
|
|
2094
2118
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
2119
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
2095
2120
|
}, "strip", z.ZodTypeAny, {
|
|
2096
2121
|
id: string;
|
|
2097
2122
|
name: string;
|
|
2098
2123
|
description: string;
|
|
2099
2124
|
type?: "global" | "sport" | "league" | undefined;
|
|
2100
2125
|
progress?: number | undefined;
|
|
2126
|
+
seen?: boolean | undefined;
|
|
2101
2127
|
tiers?: {
|
|
2102
2128
|
bronze: {
|
|
2103
2129
|
threshold: number;
|
|
@@ -2118,16 +2144,19 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
2118
2144
|
current: number;
|
|
2119
2145
|
label?: string | undefined;
|
|
2120
2146
|
context?: string | undefined;
|
|
2147
|
+
achievedAt?: number | undefined;
|
|
2148
|
+
seen?: boolean | undefined;
|
|
2121
2149
|
}> | undefined;
|
|
2122
|
-
seen?: boolean | undefined;
|
|
2123
2150
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2124
2151
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2152
|
+
seasonal?: boolean | undefined;
|
|
2125
2153
|
}, {
|
|
2126
2154
|
id: string;
|
|
2127
2155
|
name: string;
|
|
2128
2156
|
description: string;
|
|
2129
2157
|
type?: "global" | "sport" | "league" | undefined;
|
|
2130
2158
|
progress?: number | undefined;
|
|
2159
|
+
seen?: boolean | undefined;
|
|
2131
2160
|
tiers?: {
|
|
2132
2161
|
bronze: {
|
|
2133
2162
|
threshold: number;
|
|
@@ -2148,10 +2177,12 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
2148
2177
|
current: number;
|
|
2149
2178
|
label?: string | undefined;
|
|
2150
2179
|
context?: string | undefined;
|
|
2180
|
+
achievedAt?: number | undefined;
|
|
2181
|
+
seen?: boolean | undefined;
|
|
2151
2182
|
}> | undefined;
|
|
2152
|
-
seen?: boolean | undefined;
|
|
2153
2183
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
2154
2184
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
2185
|
+
seasonal?: boolean | undefined;
|
|
2155
2186
|
}>>>;
|
|
2156
2187
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2157
2188
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3118,7 +3149,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
3118
3149
|
count: number;
|
|
3119
3150
|
}[] | undefined;
|
|
3120
3151
|
}>>;
|
|
3121
|
-
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<{
|
|
3152
|
+
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<{
|
|
3122
3153
|
id: z.ZodString;
|
|
3123
3154
|
name: z.ZodString;
|
|
3124
3155
|
description: z.ZodString;
|
|
@@ -3187,27 +3218,35 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
3187
3218
|
target: z.ZodNumber;
|
|
3188
3219
|
label: z.ZodOptional<z.ZodString>;
|
|
3189
3220
|
context: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
achievedAt: z.ZodOptional<z.ZodNumber>;
|
|
3222
|
+
seen: z.ZodOptional<z.ZodBoolean>;
|
|
3190
3223
|
}, "strip", z.ZodTypeAny, {
|
|
3191
3224
|
target: number;
|
|
3192
3225
|
current: number;
|
|
3193
3226
|
label?: string | undefined;
|
|
3194
3227
|
context?: string | undefined;
|
|
3228
|
+
achievedAt?: number | undefined;
|
|
3229
|
+
seen?: boolean | undefined;
|
|
3195
3230
|
}, {
|
|
3196
3231
|
target: number;
|
|
3197
3232
|
current: number;
|
|
3198
3233
|
label?: string | undefined;
|
|
3199
3234
|
context?: string | undefined;
|
|
3235
|
+
achievedAt?: number | undefined;
|
|
3236
|
+
seen?: boolean | undefined;
|
|
3200
3237
|
}>>>;
|
|
3201
3238
|
seen: z.ZodOptional<z.ZodBoolean>;
|
|
3202
3239
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
|
|
3203
3240
|
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">]>>;
|
|
3204
3241
|
sport: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"basketball">, z.ZodLiteral<"football">, z.ZodLiteral<"soccer">, z.ZodLiteral<"baseball">, z.ZodLiteral<"hockey">]>>;
|
|
3242
|
+
seasonal: z.ZodOptional<z.ZodBoolean>;
|
|
3205
3243
|
}, "strip", z.ZodTypeAny, {
|
|
3206
3244
|
id: string;
|
|
3207
3245
|
name: string;
|
|
3208
3246
|
description: string;
|
|
3209
3247
|
type?: "global" | "sport" | "league" | undefined;
|
|
3210
3248
|
progress?: number | undefined;
|
|
3249
|
+
seen?: boolean | undefined;
|
|
3211
3250
|
tiers?: {
|
|
3212
3251
|
bronze: {
|
|
3213
3252
|
threshold: number;
|
|
@@ -3228,16 +3267,19 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
3228
3267
|
current: number;
|
|
3229
3268
|
label?: string | undefined;
|
|
3230
3269
|
context?: string | undefined;
|
|
3270
|
+
achievedAt?: number | undefined;
|
|
3271
|
+
seen?: boolean | undefined;
|
|
3231
3272
|
}> | undefined;
|
|
3232
|
-
seen?: boolean | undefined;
|
|
3233
3273
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3234
3274
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3275
|
+
seasonal?: boolean | undefined;
|
|
3235
3276
|
}, {
|
|
3236
3277
|
id: string;
|
|
3237
3278
|
name: string;
|
|
3238
3279
|
description: string;
|
|
3239
3280
|
type?: "global" | "sport" | "league" | undefined;
|
|
3240
3281
|
progress?: number | undefined;
|
|
3282
|
+
seen?: boolean | undefined;
|
|
3241
3283
|
tiers?: {
|
|
3242
3284
|
bronze: {
|
|
3243
3285
|
threshold: number;
|
|
@@ -3258,10 +3300,12 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
3258
3300
|
current: number;
|
|
3259
3301
|
label?: string | undefined;
|
|
3260
3302
|
context?: string | undefined;
|
|
3303
|
+
achievedAt?: number | undefined;
|
|
3304
|
+
seen?: boolean | undefined;
|
|
3261
3305
|
}> | undefined;
|
|
3262
|
-
seen?: boolean | undefined;
|
|
3263
3306
|
sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
|
|
3264
3307
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
3308
|
+
seasonal?: boolean | undefined;
|
|
3265
3309
|
}>>>;
|
|
3266
3310
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
3267
3311
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19,6 +19,7 @@ exports.userEventSchema = zod_1.z.object({
|
|
|
19
19
|
achievementDescription: zod_1.z.string(),
|
|
20
20
|
tier: zod_1.z.number().optional(),
|
|
21
21
|
progress: zod_1.z.number(),
|
|
22
|
+
seasonKey: zod_1.z.string().optional(), // For seasonal achievements, identifies which season was earned
|
|
22
23
|
}),
|
|
23
24
|
// Streak event data
|
|
24
25
|
zod_1.z.object({
|