rategame-shared 1.1.315 → 1.1.316

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.
@@ -43,6 +43,7 @@ export declare const oneTimeProgressSchema: z.ZodObject<{
43
43
  context: z.ZodOptional<z.ZodString>;
44
44
  achievedAt: z.ZodOptional<z.ZodNumber>;
45
45
  seen: z.ZodOptional<z.ZodBoolean>;
46
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
46
47
  }, "strip", z.ZodTypeAny, {
47
48
  target: number;
48
49
  current: number;
@@ -50,6 +51,7 @@ export declare const oneTimeProgressSchema: z.ZodObject<{
50
51
  context?: string | undefined;
51
52
  achievedAt?: number | undefined;
52
53
  seen?: boolean | undefined;
54
+ isOngoing?: boolean | undefined;
53
55
  }, {
54
56
  target: number;
55
57
  current: number;
@@ -57,6 +59,7 @@ export declare const oneTimeProgressSchema: z.ZodObject<{
57
59
  context?: string | undefined;
58
60
  achievedAt?: number | undefined;
59
61
  seen?: boolean | undefined;
62
+ isOngoing?: boolean | undefined;
60
63
  }>;
61
64
  export declare const achievementSchema: z.ZodObject<{
62
65
  id: z.ZodString;
@@ -129,6 +132,7 @@ export declare const achievementSchema: z.ZodObject<{
129
132
  context: z.ZodOptional<z.ZodString>;
130
133
  achievedAt: z.ZodOptional<z.ZodNumber>;
131
134
  seen: z.ZodOptional<z.ZodBoolean>;
135
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
132
136
  }, "strip", z.ZodTypeAny, {
133
137
  target: number;
134
138
  current: number;
@@ -136,6 +140,7 @@ export declare const achievementSchema: z.ZodObject<{
136
140
  context?: string | undefined;
137
141
  achievedAt?: number | undefined;
138
142
  seen?: boolean | undefined;
143
+ isOngoing?: boolean | undefined;
139
144
  }, {
140
145
  target: number;
141
146
  current: number;
@@ -143,6 +148,7 @@ export declare const achievementSchema: z.ZodObject<{
143
148
  context?: string | undefined;
144
149
  achievedAt?: number | undefined;
145
150
  seen?: boolean | undefined;
151
+ isOngoing?: boolean | undefined;
146
152
  }>>>;
147
153
  seen: z.ZodOptional<z.ZodBoolean>;
148
154
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -178,6 +184,7 @@ export declare const achievementSchema: z.ZodObject<{
178
184
  context?: string | undefined;
179
185
  achievedAt?: number | undefined;
180
186
  seen?: boolean | undefined;
187
+ isOngoing?: boolean | undefined;
181
188
  }> | undefined;
182
189
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
183
190
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -211,6 +218,7 @@ export declare const achievementSchema: z.ZodObject<{
211
218
  context?: string | undefined;
212
219
  achievedAt?: number | undefined;
213
220
  seen?: boolean | undefined;
221
+ isOngoing?: boolean | undefined;
214
222
  }> | undefined;
215
223
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
216
224
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -1124,6 +1132,7 @@ export declare const userSchema: z.ZodObject<{
1124
1132
  context: z.ZodOptional<z.ZodString>;
1125
1133
  achievedAt: z.ZodOptional<z.ZodNumber>;
1126
1134
  seen: z.ZodOptional<z.ZodBoolean>;
1135
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
1127
1136
  }, "strip", z.ZodTypeAny, {
1128
1137
  target: number;
1129
1138
  current: number;
@@ -1131,6 +1140,7 @@ export declare const userSchema: z.ZodObject<{
1131
1140
  context?: string | undefined;
1132
1141
  achievedAt?: number | undefined;
1133
1142
  seen?: boolean | undefined;
1143
+ isOngoing?: boolean | undefined;
1134
1144
  }, {
1135
1145
  target: number;
1136
1146
  current: number;
@@ -1138,6 +1148,7 @@ export declare const userSchema: z.ZodObject<{
1138
1148
  context?: string | undefined;
1139
1149
  achievedAt?: number | undefined;
1140
1150
  seen?: boolean | undefined;
1151
+ isOngoing?: boolean | undefined;
1141
1152
  }>>>;
1142
1153
  seen: z.ZodOptional<z.ZodBoolean>;
1143
1154
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -1173,6 +1184,7 @@ export declare const userSchema: z.ZodObject<{
1173
1184
  context?: string | undefined;
1174
1185
  achievedAt?: number | undefined;
1175
1186
  seen?: boolean | undefined;
1187
+ isOngoing?: boolean | undefined;
1176
1188
  }> | undefined;
1177
1189
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1178
1190
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -1206,6 +1218,7 @@ export declare const userSchema: z.ZodObject<{
1206
1218
  context?: string | undefined;
1207
1219
  achievedAt?: number | undefined;
1208
1220
  seen?: boolean | undefined;
1221
+ isOngoing?: boolean | undefined;
1209
1222
  }> | undefined;
1210
1223
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1211
1224
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -1527,6 +1540,7 @@ export declare const userSchema: z.ZodObject<{
1527
1540
  context?: string | undefined;
1528
1541
  achievedAt?: number | undefined;
1529
1542
  seen?: boolean | undefined;
1543
+ isOngoing?: boolean | undefined;
1530
1544
  }> | undefined;
1531
1545
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1532
1546
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -1796,6 +1810,7 @@ export declare const userSchema: z.ZodObject<{
1796
1810
  context?: string | undefined;
1797
1811
  achievedAt?: number | undefined;
1798
1812
  seen?: boolean | undefined;
1813
+ isOngoing?: boolean | undefined;
1799
1814
  }> | undefined;
1800
1815
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1801
1816
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -2740,6 +2755,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
2740
2755
  context: z.ZodOptional<z.ZodString>;
2741
2756
  achievedAt: z.ZodOptional<z.ZodNumber>;
2742
2757
  seen: z.ZodOptional<z.ZodBoolean>;
2758
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
2743
2759
  }, "strip", z.ZodTypeAny, {
2744
2760
  target: number;
2745
2761
  current: number;
@@ -2747,6 +2763,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
2747
2763
  context?: string | undefined;
2748
2764
  achievedAt?: number | undefined;
2749
2765
  seen?: boolean | undefined;
2766
+ isOngoing?: boolean | undefined;
2750
2767
  }, {
2751
2768
  target: number;
2752
2769
  current: number;
@@ -2754,6 +2771,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
2754
2771
  context?: string | undefined;
2755
2772
  achievedAt?: number | undefined;
2756
2773
  seen?: boolean | undefined;
2774
+ isOngoing?: boolean | undefined;
2757
2775
  }>>>;
2758
2776
  seen: z.ZodOptional<z.ZodBoolean>;
2759
2777
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -2789,6 +2807,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
2789
2807
  context?: string | undefined;
2790
2808
  achievedAt?: number | undefined;
2791
2809
  seen?: boolean | undefined;
2810
+ isOngoing?: boolean | undefined;
2792
2811
  }> | undefined;
2793
2812
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
2794
2813
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -2822,6 +2841,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
2822
2841
  context?: string | undefined;
2823
2842
  achievedAt?: number | undefined;
2824
2843
  seen?: boolean | undefined;
2844
+ isOngoing?: boolean | undefined;
2825
2845
  }> | undefined;
2826
2846
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
2827
2847
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -3132,6 +3152,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
3132
3152
  context?: string | undefined;
3133
3153
  achievedAt?: number | undefined;
3134
3154
  seen?: boolean | undefined;
3155
+ isOngoing?: boolean | undefined;
3135
3156
  }> | undefined;
3136
3157
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
3137
3158
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -3390,6 +3411,7 @@ export declare const createUserSchema: z.ZodObject<Omit<{
3390
3411
  context?: string | undefined;
3391
3412
  achievedAt?: number | undefined;
3392
3413
  seen?: boolean | undefined;
3414
+ isOngoing?: boolean | undefined;
3393
3415
  }> | undefined;
3394
3416
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
3395
3417
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -4334,6 +4356,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
4334
4356
  context: z.ZodOptional<z.ZodString>;
4335
4357
  achievedAt: z.ZodOptional<z.ZodNumber>;
4336
4358
  seen: z.ZodOptional<z.ZodBoolean>;
4359
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
4337
4360
  }, "strip", z.ZodTypeAny, {
4338
4361
  target: number;
4339
4362
  current: number;
@@ -4341,6 +4364,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
4341
4364
  context?: string | undefined;
4342
4365
  achievedAt?: number | undefined;
4343
4366
  seen?: boolean | undefined;
4367
+ isOngoing?: boolean | undefined;
4344
4368
  }, {
4345
4369
  target: number;
4346
4370
  current: number;
@@ -4348,6 +4372,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
4348
4372
  context?: string | undefined;
4349
4373
  achievedAt?: number | undefined;
4350
4374
  seen?: boolean | undefined;
4375
+ isOngoing?: boolean | undefined;
4351
4376
  }>>>;
4352
4377
  seen: z.ZodOptional<z.ZodBoolean>;
4353
4378
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -4383,6 +4408,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
4383
4408
  context?: string | undefined;
4384
4409
  achievedAt?: number | undefined;
4385
4410
  seen?: boolean | undefined;
4411
+ isOngoing?: boolean | undefined;
4386
4412
  }> | undefined;
4387
4413
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
4388
4414
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -4416,6 +4442,7 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
4416
4442
  context?: string | undefined;
4417
4443
  achievedAt?: number | undefined;
4418
4444
  seen?: boolean | undefined;
4445
+ isOngoing?: boolean | undefined;
4419
4446
  }> | undefined;
4420
4447
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
4421
4448
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -85,6 +85,7 @@ exports.oneTimeProgressSchema = (0, zod_1.object)({
85
85
  context: (0, zod_1.string)().optional(),
86
86
  achievedAt: (0, zod_1.number)().optional(),
87
87
  seen: (0, zod_1.boolean)().optional(),
88
+ isOngoing: (0, zod_1.boolean)().optional(), // Indicates if the season is still in progress
88
89
  });
89
90
  exports.achievementSchema = (0, zod_1.object)({
90
91
  id: (0, zod_1.string)(),
@@ -1027,6 +1027,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
1027
1027
  context: z.ZodOptional<z.ZodString>;
1028
1028
  achievedAt: z.ZodOptional<z.ZodNumber>;
1029
1029
  seen: z.ZodOptional<z.ZodBoolean>;
1030
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
1030
1031
  }, "strip", z.ZodTypeAny, {
1031
1032
  target: number;
1032
1033
  current: number;
@@ -1034,6 +1035,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
1034
1035
  context?: string | undefined;
1035
1036
  achievedAt?: number | undefined;
1036
1037
  seen?: boolean | undefined;
1038
+ isOngoing?: boolean | undefined;
1037
1039
  }, {
1038
1040
  target: number;
1039
1041
  current: number;
@@ -1041,6 +1043,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
1041
1043
  context?: string | undefined;
1042
1044
  achievedAt?: number | undefined;
1043
1045
  seen?: boolean | undefined;
1046
+ isOngoing?: boolean | undefined;
1044
1047
  }>>>;
1045
1048
  seen: z.ZodOptional<z.ZodBoolean>;
1046
1049
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -1076,6 +1079,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
1076
1079
  context?: string | undefined;
1077
1080
  achievedAt?: number | undefined;
1078
1081
  seen?: boolean | undefined;
1082
+ isOngoing?: boolean | undefined;
1079
1083
  }> | undefined;
1080
1084
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1081
1085
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -1109,6 +1113,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
1109
1113
  context?: string | undefined;
1110
1114
  achievedAt?: number | undefined;
1111
1115
  seen?: boolean | undefined;
1116
+ isOngoing?: boolean | undefined;
1112
1117
  }> | undefined;
1113
1118
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
1114
1119
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -2120,6 +2125,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
2120
2125
  context: z.ZodOptional<z.ZodString>;
2121
2126
  achievedAt: z.ZodOptional<z.ZodNumber>;
2122
2127
  seen: z.ZodOptional<z.ZodBoolean>;
2128
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
2123
2129
  }, "strip", z.ZodTypeAny, {
2124
2130
  target: number;
2125
2131
  current: number;
@@ -2127,6 +2133,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
2127
2133
  context?: string | undefined;
2128
2134
  achievedAt?: number | undefined;
2129
2135
  seen?: boolean | undefined;
2136
+ isOngoing?: boolean | undefined;
2130
2137
  }, {
2131
2138
  target: number;
2132
2139
  current: number;
@@ -2134,6 +2141,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
2134
2141
  context?: string | undefined;
2135
2142
  achievedAt?: number | undefined;
2136
2143
  seen?: boolean | undefined;
2144
+ isOngoing?: boolean | undefined;
2137
2145
  }>>>;
2138
2146
  seen: z.ZodOptional<z.ZodBoolean>;
2139
2147
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -2169,6 +2177,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
2169
2177
  context?: string | undefined;
2170
2178
  achievedAt?: number | undefined;
2171
2179
  seen?: boolean | undefined;
2180
+ isOngoing?: boolean | undefined;
2172
2181
  }> | undefined;
2173
2182
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
2174
2183
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -2202,6 +2211,7 @@ export declare const userEventCommentSchema: z.ZodObject<{
2202
2211
  context?: string | undefined;
2203
2212
  achievedAt?: number | undefined;
2204
2213
  seen?: boolean | undefined;
2214
+ isOngoing?: boolean | undefined;
2205
2215
  }> | undefined;
2206
2216
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
2207
2217
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -3266,6 +3276,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
3266
3276
  context: z.ZodOptional<z.ZodString>;
3267
3277
  achievedAt: z.ZodOptional<z.ZodNumber>;
3268
3278
  seen: z.ZodOptional<z.ZodBoolean>;
3279
+ isOngoing: z.ZodOptional<z.ZodBoolean>;
3269
3280
  }, "strip", z.ZodTypeAny, {
3270
3281
  target: number;
3271
3282
  current: number;
@@ -3273,6 +3284,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
3273
3284
  context?: string | undefined;
3274
3285
  achievedAt?: number | undefined;
3275
3286
  seen?: boolean | undefined;
3287
+ isOngoing?: boolean | undefined;
3276
3288
  }, {
3277
3289
  target: number;
3278
3290
  current: number;
@@ -3280,6 +3292,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
3280
3292
  context?: string | undefined;
3281
3293
  achievedAt?: number | undefined;
3282
3294
  seen?: boolean | undefined;
3295
+ isOngoing?: boolean | undefined;
3283
3296
  }>>>;
3284
3297
  seen: z.ZodOptional<z.ZodBoolean>;
3285
3298
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"global">, z.ZodLiteral<"sport">, z.ZodLiteral<"league">]>>;
@@ -3315,6 +3328,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
3315
3328
  context?: string | undefined;
3316
3329
  achievedAt?: number | undefined;
3317
3330
  seen?: boolean | undefined;
3331
+ isOngoing?: boolean | undefined;
3318
3332
  }> | undefined;
3319
3333
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
3320
3334
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
@@ -3348,6 +3362,7 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
3348
3362
  context?: string | undefined;
3349
3363
  achievedAt?: number | undefined;
3350
3364
  seen?: boolean | undefined;
3365
+ isOngoing?: boolean | undefined;
3351
3366
  }> | undefined;
3352
3367
  sport?: "basketball" | "football" | "soccer" | "baseball" | "hockey" | undefined;
3353
3368
  league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;