rategame-shared 1.1.523 → 1.1.525
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/schemas/miniLeague.d.ts +63 -53
- package/dist/schemas/miniLeague.js +0 -1
- package/dist/schemas/player.d.ts +46 -0
- package/dist/schemas/player.js +12 -0
- package/dist/schemas/poll.d.ts +152 -0
- package/dist/schemas/voting.d.ts +952 -0
- package/package.json +1 -1
|
@@ -1255,7 +1255,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1255
1255
|
}>>;
|
|
1256
1256
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
1257
1257
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
1259
1259
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
1260
1260
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1261
1261
|
token: z.ZodString;
|
|
@@ -1267,7 +1267,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1267
1267
|
token: string;
|
|
1268
1268
|
usedAt: number;
|
|
1269
1269
|
}>>;
|
|
1270
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
1270
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
1271
1271
|
acceptedPushNotifications: z.ZodBoolean;
|
|
1272
1272
|
badge: z.ZodOptional<z.ZodString>;
|
|
1273
1273
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1277,7 +1277,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1277
1277
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
1278
1278
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1279
1279
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1280
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1280
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1281
1281
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1282
1282
|
challengeId: z.ZodString;
|
|
1283
1283
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -1475,7 +1475,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1475
1475
|
system?: boolean | undefined;
|
|
1476
1476
|
}>>;
|
|
1477
1477
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
1478
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
1478
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
1479
1479
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1480
1480
|
}, "strip", z.ZodTypeAny, {
|
|
1481
1481
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -1531,6 +1531,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1531
1531
|
}>, "many">>;
|
|
1532
1532
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1533
1533
|
count: z.ZodNumber;
|
|
1534
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
1534
1535
|
achievedAt: z.ZodNumber;
|
|
1535
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1536
1537
|
achievedAt: number;
|
|
@@ -1739,6 +1740,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1739
1740
|
favoriteTeam: z.ZodBoolean;
|
|
1740
1741
|
pinnedRatings: z.ZodBoolean;
|
|
1741
1742
|
favoriteGames: z.ZodBoolean;
|
|
1743
|
+
/** 1-based index within the league window for this granularity. */
|
|
1742
1744
|
gradientColor: z.ZodBoolean;
|
|
1743
1745
|
location: z.ZodBoolean;
|
|
1744
1746
|
birthday: z.ZodBoolean;
|
|
@@ -1792,7 +1794,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
|
|
|
1792
1794
|
earnedAt?: number | undefined;
|
|
1793
1795
|
}>>;
|
|
1794
1796
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
1795
|
-
earned: z.ZodBoolean;
|
|
1797
|
+
earned: z.ZodBoolean;
|
|
1796
1798
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
1797
1799
|
seen: z.ZodBoolean;
|
|
1798
1800
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3039,7 +3041,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3039
3041
|
}>>;
|
|
3040
3042
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
3041
3043
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
3042
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
3044
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
3043
3045
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
3044
3046
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3045
3047
|
token: z.ZodString;
|
|
@@ -3051,7 +3053,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3051
3053
|
token: string;
|
|
3052
3054
|
usedAt: number;
|
|
3053
3055
|
}>>;
|
|
3054
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
3056
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
3055
3057
|
acceptedPushNotifications: z.ZodBoolean;
|
|
3056
3058
|
badge: z.ZodOptional<z.ZodString>;
|
|
3057
3059
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3061,7 +3063,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3061
3063
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
3062
3064
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3063
3065
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3064
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3066
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3065
3067
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3066
3068
|
challengeId: z.ZodString;
|
|
3067
3069
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -3259,7 +3261,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3259
3261
|
system?: boolean | undefined;
|
|
3260
3262
|
}>>;
|
|
3261
3263
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
3262
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
3264
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
3263
3265
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
3264
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3265
3267
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -3315,6 +3317,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3315
3317
|
}>, "many">>;
|
|
3316
3318
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3317
3319
|
count: z.ZodNumber;
|
|
3320
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
3318
3321
|
achievedAt: z.ZodNumber;
|
|
3319
3322
|
}, "strip", z.ZodTypeAny, {
|
|
3320
3323
|
achievedAt: number;
|
|
@@ -3523,6 +3526,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3523
3526
|
favoriteTeam: z.ZodBoolean;
|
|
3524
3527
|
pinnedRatings: z.ZodBoolean;
|
|
3525
3528
|
favoriteGames: z.ZodBoolean;
|
|
3529
|
+
/** 1-based index within the league window for this granularity. */
|
|
3526
3530
|
gradientColor: z.ZodBoolean;
|
|
3527
3531
|
location: z.ZodBoolean;
|
|
3528
3532
|
birthday: z.ZodBoolean;
|
|
@@ -3576,7 +3580,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
3576
3580
|
earnedAt?: number | undefined;
|
|
3577
3581
|
}>>;
|
|
3578
3582
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
3579
|
-
earned: z.ZodBoolean;
|
|
3583
|
+
earned: z.ZodBoolean;
|
|
3580
3584
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
3581
3585
|
seen: z.ZodBoolean;
|
|
3582
3586
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4029,7 +4033,6 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
4029
4033
|
}[] | undefined;
|
|
4030
4034
|
isTied?: boolean | undefined;
|
|
4031
4035
|
}>>>;
|
|
4032
|
-
standingsUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
4033
4036
|
}, "strip", z.ZodTypeAny, {
|
|
4034
4037
|
role: "owner" | "admin" | "member";
|
|
4035
4038
|
user: {
|
|
@@ -4095,7 +4098,6 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
4095
4098
|
}[] | undefined;
|
|
4096
4099
|
isTied?: boolean | undefined;
|
|
4097
4100
|
} | undefined;
|
|
4098
|
-
standingsUpdatedAt?: number | undefined;
|
|
4099
4101
|
invitedBy?: string | undefined;
|
|
4100
4102
|
standings?: {
|
|
4101
4103
|
allTime: {
|
|
@@ -4192,7 +4194,6 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
|
|
|
4192
4194
|
}[] | undefined;
|
|
4193
4195
|
isTied?: boolean | undefined;
|
|
4194
4196
|
} | undefined;
|
|
4195
|
-
standingsUpdatedAt?: number | undefined;
|
|
4196
4197
|
invitedBy?: string | undefined;
|
|
4197
4198
|
standings?: {
|
|
4198
4199
|
allTime: {
|
|
@@ -5288,7 +5289,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5288
5289
|
}>>;
|
|
5289
5290
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
5290
5291
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
5291
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
5292
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
5292
5293
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
5293
5294
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5294
5295
|
token: z.ZodString;
|
|
@@ -5300,7 +5301,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5300
5301
|
token: string;
|
|
5301
5302
|
usedAt: number;
|
|
5302
5303
|
}>>;
|
|
5303
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
5304
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
5304
5305
|
acceptedPushNotifications: z.ZodBoolean;
|
|
5305
5306
|
badge: z.ZodOptional<z.ZodString>;
|
|
5306
5307
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5310,7 +5311,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5310
5311
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
5311
5312
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5312
5313
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5313
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5314
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5314
5315
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5315
5316
|
challengeId: z.ZodString;
|
|
5316
5317
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -5508,7 +5509,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5508
5509
|
system?: boolean | undefined;
|
|
5509
5510
|
}>>;
|
|
5510
5511
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
5511
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
5512
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
5512
5513
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
5513
5514
|
}, "strip", z.ZodTypeAny, {
|
|
5514
5515
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -5564,6 +5565,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5564
5565
|
}>, "many">>;
|
|
5565
5566
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5566
5567
|
count: z.ZodNumber;
|
|
5568
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
5567
5569
|
achievedAt: z.ZodNumber;
|
|
5568
5570
|
}, "strip", z.ZodTypeAny, {
|
|
5569
5571
|
achievedAt: number;
|
|
@@ -5772,6 +5774,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5772
5774
|
favoriteTeam: z.ZodBoolean;
|
|
5773
5775
|
pinnedRatings: z.ZodBoolean;
|
|
5774
5776
|
favoriteGames: z.ZodBoolean;
|
|
5777
|
+
/** 1-based index within the league window for this granularity. */
|
|
5775
5778
|
gradientColor: z.ZodBoolean;
|
|
5776
5779
|
location: z.ZodBoolean;
|
|
5777
5780
|
birthday: z.ZodBoolean;
|
|
@@ -5825,7 +5828,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
5825
5828
|
earnedAt?: number | undefined;
|
|
5826
5829
|
}>>;
|
|
5827
5830
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
5828
|
-
earned: z.ZodBoolean;
|
|
5831
|
+
earned: z.ZodBoolean;
|
|
5829
5832
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
5830
5833
|
seen: z.ZodBoolean;
|
|
5831
5834
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6944,7 +6947,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
6944
6947
|
}>>;
|
|
6945
6948
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
6946
6949
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
6947
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
6950
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
6948
6951
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
6949
6952
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6950
6953
|
token: z.ZodString;
|
|
@@ -6956,7 +6959,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
6956
6959
|
token: string;
|
|
6957
6960
|
usedAt: number;
|
|
6958
6961
|
}>>;
|
|
6959
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
6962
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
6960
6963
|
acceptedPushNotifications: z.ZodBoolean;
|
|
6961
6964
|
badge: z.ZodOptional<z.ZodString>;
|
|
6962
6965
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6966,7 +6969,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
6966
6969
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
6967
6970
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6968
6971
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6969
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6972
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6970
6973
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6971
6974
|
challengeId: z.ZodString;
|
|
6972
6975
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -7164,7 +7167,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
7164
7167
|
system?: boolean | undefined;
|
|
7165
7168
|
}>>;
|
|
7166
7169
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
7167
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
7170
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
7168
7171
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
7169
7172
|
}, "strip", z.ZodTypeAny, {
|
|
7170
7173
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -7220,6 +7223,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
7220
7223
|
}>, "many">>;
|
|
7221
7224
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7222
7225
|
count: z.ZodNumber;
|
|
7226
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
7223
7227
|
achievedAt: z.ZodNumber;
|
|
7224
7228
|
}, "strip", z.ZodTypeAny, {
|
|
7225
7229
|
achievedAt: number;
|
|
@@ -7428,6 +7432,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
7428
7432
|
favoriteTeam: z.ZodBoolean;
|
|
7429
7433
|
pinnedRatings: z.ZodBoolean;
|
|
7430
7434
|
favoriteGames: z.ZodBoolean;
|
|
7435
|
+
/** 1-based index within the league window for this granularity. */
|
|
7431
7436
|
gradientColor: z.ZodBoolean;
|
|
7432
7437
|
location: z.ZodBoolean;
|
|
7433
7438
|
birthday: z.ZodBoolean;
|
|
@@ -7481,7 +7486,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
|
|
|
7481
7486
|
earnedAt?: number | undefined;
|
|
7482
7487
|
}>>;
|
|
7483
7488
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
7484
|
-
earned: z.ZodBoolean;
|
|
7489
|
+
earned: z.ZodBoolean;
|
|
7485
7490
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
7486
7491
|
seen: z.ZodBoolean;
|
|
7487
7492
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8833,7 +8838,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
8833
8838
|
}>>;
|
|
8834
8839
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
8835
8840
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
8836
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
8841
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
8837
8842
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
8838
8843
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8839
8844
|
token: z.ZodString;
|
|
@@ -8845,7 +8850,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
8845
8850
|
token: string;
|
|
8846
8851
|
usedAt: number;
|
|
8847
8852
|
}>>;
|
|
8848
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
8853
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
8849
8854
|
acceptedPushNotifications: z.ZodBoolean;
|
|
8850
8855
|
badge: z.ZodOptional<z.ZodString>;
|
|
8851
8856
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8855,7 +8860,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
8855
8860
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
8856
8861
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8857
8862
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8858
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8863
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8859
8864
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8860
8865
|
challengeId: z.ZodString;
|
|
8861
8866
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -9053,7 +9058,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
9053
9058
|
system?: boolean | undefined;
|
|
9054
9059
|
}>>;
|
|
9055
9060
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
9056
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
9061
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
9057
9062
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
9058
9063
|
}, "strip", z.ZodTypeAny, {
|
|
9059
9064
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -9109,6 +9114,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
9109
9114
|
}>, "many">>;
|
|
9110
9115
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9111
9116
|
count: z.ZodNumber;
|
|
9117
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
9112
9118
|
achievedAt: z.ZodNumber;
|
|
9113
9119
|
}, "strip", z.ZodTypeAny, {
|
|
9114
9120
|
achievedAt: number;
|
|
@@ -9317,6 +9323,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
9317
9323
|
favoriteTeam: z.ZodBoolean;
|
|
9318
9324
|
pinnedRatings: z.ZodBoolean;
|
|
9319
9325
|
favoriteGames: z.ZodBoolean;
|
|
9326
|
+
/** 1-based index within the league window for this granularity. */
|
|
9320
9327
|
gradientColor: z.ZodBoolean;
|
|
9321
9328
|
location: z.ZodBoolean;
|
|
9322
9329
|
birthday: z.ZodBoolean;
|
|
@@ -9370,7 +9377,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
|
|
|
9370
9377
|
earnedAt?: number | undefined;
|
|
9371
9378
|
}>>;
|
|
9372
9379
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
9373
|
-
earned: z.ZodBoolean;
|
|
9380
|
+
earned: z.ZodBoolean;
|
|
9374
9381
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
9375
9382
|
seen: z.ZodBoolean;
|
|
9376
9383
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10563,7 +10570,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
10563
10570
|
}>>;
|
|
10564
10571
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
10565
10572
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
10566
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
10573
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
10567
10574
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
10568
10575
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10569
10576
|
token: z.ZodString;
|
|
@@ -10575,7 +10582,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
10575
10582
|
token: string;
|
|
10576
10583
|
usedAt: number;
|
|
10577
10584
|
}>>;
|
|
10578
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
10585
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
10579
10586
|
acceptedPushNotifications: z.ZodBoolean;
|
|
10580
10587
|
badge: z.ZodOptional<z.ZodString>;
|
|
10581
10588
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10585,7 +10592,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
10585
10592
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
10586
10593
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10587
10594
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10588
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10595
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10589
10596
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10590
10597
|
challengeId: z.ZodString;
|
|
10591
10598
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -10783,7 +10790,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
10783
10790
|
system?: boolean | undefined;
|
|
10784
10791
|
}>>;
|
|
10785
10792
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
10786
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
10793
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
10787
10794
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
10788
10795
|
}, "strip", z.ZodTypeAny, {
|
|
10789
10796
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -10839,6 +10846,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
10839
10846
|
}>, "many">>;
|
|
10840
10847
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10841
10848
|
count: z.ZodNumber;
|
|
10849
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
10842
10850
|
achievedAt: z.ZodNumber;
|
|
10843
10851
|
}, "strip", z.ZodTypeAny, {
|
|
10844
10852
|
achievedAt: number;
|
|
@@ -11047,6 +11055,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
11047
11055
|
favoriteTeam: z.ZodBoolean;
|
|
11048
11056
|
pinnedRatings: z.ZodBoolean;
|
|
11049
11057
|
favoriteGames: z.ZodBoolean;
|
|
11058
|
+
/** 1-based index within the league window for this granularity. */
|
|
11050
11059
|
gradientColor: z.ZodBoolean;
|
|
11051
11060
|
location: z.ZodBoolean;
|
|
11052
11061
|
birthday: z.ZodBoolean;
|
|
@@ -11100,7 +11109,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
|
|
|
11100
11109
|
earnedAt?: number | undefined;
|
|
11101
11110
|
}>>;
|
|
11102
11111
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
11103
|
-
earned: z.ZodBoolean;
|
|
11112
|
+
earned: z.ZodBoolean;
|
|
11104
11113
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
11105
11114
|
seen: z.ZodBoolean;
|
|
11106
11115
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12431,7 +12440,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12431
12440
|
}>>;
|
|
12432
12441
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
12433
12442
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
12434
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
12443
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
12435
12444
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
12436
12445
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12437
12446
|
token: z.ZodString;
|
|
@@ -12443,7 +12452,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12443
12452
|
token: string;
|
|
12444
12453
|
usedAt: number;
|
|
12445
12454
|
}>>;
|
|
12446
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
12455
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
12447
12456
|
acceptedPushNotifications: z.ZodBoolean;
|
|
12448
12457
|
badge: z.ZodOptional<z.ZodString>;
|
|
12449
12458
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12453,7 +12462,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12453
12462
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
12454
12463
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12455
12464
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12456
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12465
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12457
12466
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12458
12467
|
challengeId: z.ZodString;
|
|
12459
12468
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -12651,7 +12660,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12651
12660
|
system?: boolean | undefined;
|
|
12652
12661
|
}>>;
|
|
12653
12662
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
12654
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
12663
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
12655
12664
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
12656
12665
|
}, "strip", z.ZodTypeAny, {
|
|
12657
12666
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -12707,6 +12716,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12707
12716
|
}>, "many">>;
|
|
12708
12717
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12709
12718
|
count: z.ZodNumber;
|
|
12719
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
12710
12720
|
achievedAt: z.ZodNumber;
|
|
12711
12721
|
}, "strip", z.ZodTypeAny, {
|
|
12712
12722
|
achievedAt: number;
|
|
@@ -12915,6 +12925,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12915
12925
|
favoriteTeam: z.ZodBoolean;
|
|
12916
12926
|
pinnedRatings: z.ZodBoolean;
|
|
12917
12927
|
favoriteGames: z.ZodBoolean;
|
|
12928
|
+
/** 1-based index within the league window for this granularity. */
|
|
12918
12929
|
gradientColor: z.ZodBoolean;
|
|
12919
12930
|
location: z.ZodBoolean;
|
|
12920
12931
|
birthday: z.ZodBoolean;
|
|
@@ -12968,7 +12979,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
12968
12979
|
earnedAt?: number | undefined;
|
|
12969
12980
|
}>>;
|
|
12970
12981
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
12971
|
-
earned: z.ZodBoolean;
|
|
12982
|
+
earned: z.ZodBoolean;
|
|
12972
12983
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
12973
12984
|
seen: z.ZodBoolean;
|
|
12974
12985
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13421,7 +13432,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
13421
13432
|
}[] | undefined;
|
|
13422
13433
|
isTied?: boolean | undefined;
|
|
13423
13434
|
}>>>;
|
|
13424
|
-
standingsUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
13425
13435
|
}, "strip", z.ZodTypeAny, {
|
|
13426
13436
|
role: "owner" | "admin" | "member";
|
|
13427
13437
|
user: {
|
|
@@ -13487,7 +13497,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
13487
13497
|
}[] | undefined;
|
|
13488
13498
|
isTied?: boolean | undefined;
|
|
13489
13499
|
} | undefined;
|
|
13490
|
-
standingsUpdatedAt?: number | undefined;
|
|
13491
13500
|
invitedBy?: string | undefined;
|
|
13492
13501
|
standings?: {
|
|
13493
13502
|
allTime: {
|
|
@@ -13584,7 +13593,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
13584
13593
|
}[] | undefined;
|
|
13585
13594
|
isTied?: boolean | undefined;
|
|
13586
13595
|
} | undefined;
|
|
13587
|
-
standingsUpdatedAt?: number | undefined;
|
|
13588
13596
|
invitedBy?: string | undefined;
|
|
13589
13597
|
standings?: {
|
|
13590
13598
|
allTime: {
|
|
@@ -13684,7 +13692,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
13684
13692
|
}[] | undefined;
|
|
13685
13693
|
isTied?: boolean | undefined;
|
|
13686
13694
|
} | undefined;
|
|
13687
|
-
standingsUpdatedAt?: number | undefined;
|
|
13688
13695
|
invitedBy?: string | undefined;
|
|
13689
13696
|
standings?: {
|
|
13690
13697
|
allTime: {
|
|
@@ -13784,7 +13791,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
|
|
|
13784
13791
|
}[] | undefined;
|
|
13785
13792
|
isTied?: boolean | undefined;
|
|
13786
13793
|
} | undefined;
|
|
13787
|
-
standingsUpdatedAt?: number | undefined;
|
|
13788
13794
|
invitedBy?: string | undefined;
|
|
13789
13795
|
standings?: {
|
|
13790
13796
|
allTime: {
|
|
@@ -14882,7 +14888,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
14882
14888
|
}>>;
|
|
14883
14889
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
14884
14890
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
14885
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
14891
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
14886
14892
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
14887
14893
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14888
14894
|
token: z.ZodString;
|
|
@@ -14894,7 +14900,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
14894
14900
|
token: string;
|
|
14895
14901
|
usedAt: number;
|
|
14896
14902
|
}>>;
|
|
14897
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
14903
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
14898
14904
|
acceptedPushNotifications: z.ZodBoolean;
|
|
14899
14905
|
badge: z.ZodOptional<z.ZodString>;
|
|
14900
14906
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14904,7 +14910,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
14904
14910
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
14905
14911
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14906
14912
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14907
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14913
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14908
14914
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14909
14915
|
challengeId: z.ZodString;
|
|
14910
14916
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -15102,7 +15108,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
15102
15108
|
system?: boolean | undefined;
|
|
15103
15109
|
}>>;
|
|
15104
15110
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
15105
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
15111
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
15106
15112
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
15107
15113
|
}, "strip", z.ZodTypeAny, {
|
|
15108
15114
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -15158,6 +15164,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
15158
15164
|
}>, "many">>;
|
|
15159
15165
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15160
15166
|
count: z.ZodNumber;
|
|
15167
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
15161
15168
|
achievedAt: z.ZodNumber;
|
|
15162
15169
|
}, "strip", z.ZodTypeAny, {
|
|
15163
15170
|
achievedAt: number;
|
|
@@ -15366,6 +15373,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
15366
15373
|
favoriteTeam: z.ZodBoolean;
|
|
15367
15374
|
pinnedRatings: z.ZodBoolean;
|
|
15368
15375
|
favoriteGames: z.ZodBoolean;
|
|
15376
|
+
/** 1-based index within the league window for this granularity. */
|
|
15369
15377
|
gradientColor: z.ZodBoolean;
|
|
15370
15378
|
location: z.ZodBoolean;
|
|
15371
15379
|
birthday: z.ZodBoolean;
|
|
@@ -15419,7 +15427,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
15419
15427
|
earnedAt?: number | undefined;
|
|
15420
15428
|
}>>;
|
|
15421
15429
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
15422
|
-
earned: z.ZodBoolean;
|
|
15430
|
+
earned: z.ZodBoolean;
|
|
15423
15431
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
15424
15432
|
seen: z.ZodBoolean;
|
|
15425
15433
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16538,7 +16546,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
16538
16546
|
}>>;
|
|
16539
16547
|
totalRatedGames: z.ZodOptional<z.ZodNumber>;
|
|
16540
16548
|
commentsLeft: z.ZodOptional<z.ZodNumber>;
|
|
16541
|
-
avgRating: z.ZodOptional<z.ZodNumber>;
|
|
16549
|
+
avgRating: z.ZodOptional<z.ZodNumber>; /** Preferred: one or more platform leagues (max 2). */
|
|
16542
16550
|
isRegistrationComplete: z.ZodOptional<z.ZodBoolean>;
|
|
16543
16551
|
deviceTokens: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16544
16552
|
token: z.ZodString;
|
|
@@ -16550,7 +16558,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
16550
16558
|
token: string;
|
|
16551
16559
|
usedAt: number;
|
|
16552
16560
|
}>>;
|
|
16553
|
-
askedForPushNotifications: z.ZodBoolean;
|
|
16561
|
+
askedForPushNotifications: z.ZodBoolean; /** Legacy single-league create. */
|
|
16554
16562
|
acceptedPushNotifications: z.ZodBoolean;
|
|
16555
16563
|
badge: z.ZodOptional<z.ZodString>;
|
|
16556
16564
|
registrationStep: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16560,7 +16568,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
16560
16568
|
canLeaveOnboarding: z.ZodOptional<z.ZodBoolean>;
|
|
16561
16569
|
selectedLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16562
16570
|
selectedTeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16563
|
-
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16571
|
+
joinedChallengeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16564
16572
|
scorePredictionChallenges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16565
16573
|
challengeId: z.ZodString;
|
|
16566
16574
|
challengeLeague: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodLiteral<"laliga">, z.ZodLiteral<"seriea">, z.ZodLiteral<"bundesliga">, z.ZodLiteral<"ligue1">, z.ZodLiteral<"ucl">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
@@ -16758,7 +16766,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
16758
16766
|
system?: boolean | undefined;
|
|
16759
16767
|
}>>;
|
|
16760
16768
|
emailSettings: z.ZodOptional<z.ZodObject<{
|
|
16761
|
-
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
16769
|
+
digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
16762
16770
|
unsubscribe: z.ZodOptional<z.ZodBoolean>;
|
|
16763
16771
|
}, "strip", z.ZodTypeAny, {
|
|
16764
16772
|
digestFrequency?: "daily" | "weekly" | "monthly" | undefined;
|
|
@@ -16814,6 +16822,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
16814
16822
|
}>, "many">>;
|
|
16815
16823
|
streaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16816
16824
|
count: z.ZodNumber;
|
|
16825
|
+
/** A single member's materialized standings for a challenge (no full leaderboard). */
|
|
16817
16826
|
achievedAt: z.ZodNumber;
|
|
16818
16827
|
}, "strip", z.ZodTypeAny, {
|
|
16819
16828
|
achievedAt: number;
|
|
@@ -17022,6 +17031,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
17022
17031
|
favoriteTeam: z.ZodBoolean;
|
|
17023
17032
|
pinnedRatings: z.ZodBoolean;
|
|
17024
17033
|
favoriteGames: z.ZodBoolean;
|
|
17034
|
+
/** 1-based index within the league window for this granularity. */
|
|
17025
17035
|
gradientColor: z.ZodBoolean;
|
|
17026
17036
|
location: z.ZodBoolean;
|
|
17027
17037
|
birthday: z.ZodBoolean;
|
|
@@ -17075,7 +17085,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
|
|
|
17075
17085
|
earnedAt?: number | undefined;
|
|
17076
17086
|
}>>;
|
|
17077
17087
|
marchMadness: z.ZodOptional<z.ZodObject<{
|
|
17078
|
-
earned: z.ZodBoolean;
|
|
17088
|
+
earned: z.ZodBoolean;
|
|
17079
17089
|
earnedAt: z.ZodOptional<z.ZodNumber>;
|
|
17080
17090
|
seen: z.ZodBoolean;
|
|
17081
17091
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -181,7 +181,6 @@ exports.miniLeagueMemberSchema = zod_1.z.object({
|
|
|
181
181
|
invitedBy: zod_1.z.string().optional(),
|
|
182
182
|
standings: exports.miniLeagueMemberStandingsSchema.optional(),
|
|
183
183
|
stats: zod_1.z.lazy(() => exports.miniLeagueMemberStatsSchema).optional(),
|
|
184
|
-
standingsUpdatedAt: zod_1.z.number().optional(),
|
|
185
184
|
});
|
|
186
185
|
exports.miniLeagueInvitationSchema = zod_1.z.object({
|
|
187
186
|
id: zod_1.z.string(),
|