rategame-shared 1.1.492 → 1.1.494

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.
@@ -10,14 +10,14 @@ export type RatingTextPart = {
10
10
  export declare function normalizeRatingTag(display: string): string;
11
11
  export declare function toStoredRatingTag(tag: string): string;
12
12
  export declare function getRatingTagPath(tag: string): string;
13
- export declare function getStadiumRatingTagPath(stadiumId: string, tag: string): string;
14
- export declare function getExperienceRatingTagPath(experienceId: string, tag: string): string;
13
+ export declare function getStadiumRatingTagPath(tag: string): string;
14
+ export declare function getExperienceRatingTagPath(tag: string): string;
15
15
  export type RatingTagEntityType = "game" | "stadium" | "experience";
16
16
  export type RatingTagCountValue = {
17
17
  count: number;
18
18
  display: string;
19
19
  };
20
- export declare function getEntityRatingTagPath(entityType: RatingTagEntityType, tag: string, entityId?: string): string;
20
+ export declare function getEntityRatingTagPath(entityType: RatingTagEntityType, tag: string): string;
21
21
  export declare function getSortedRatingTags(ratingTagCounts: Record<string, RatingTagCountValue> | undefined): Array<[string, RatingTagCountValue]>;
22
22
  export declare function extractRatingTags(text: string): ExtractedRatingTag[];
23
23
  export declare function parseRatingTextWithTags(text: string): RatingTextPart[];
@@ -15,20 +15,20 @@ function getRatingTagPath(tag) {
15
15
  return `/ratings/tag/${encodeURIComponent(toStoredRatingTag(tag).slice(1))}`;
16
16
  }
17
17
  exports.getRatingTagPath = getRatingTagPath;
18
- function getStadiumRatingTagPath(stadiumId, tag) {
19
- return `/stadiums/${stadiumId}/tag/${encodeURIComponent(toStoredRatingTag(tag).slice(1))}`;
18
+ function getStadiumRatingTagPath(tag) {
19
+ return `/stadiums/tag/${encodeURIComponent(toStoredRatingTag(tag).slice(1))}`;
20
20
  }
21
21
  exports.getStadiumRatingTagPath = getStadiumRatingTagPath;
22
- function getExperienceRatingTagPath(experienceId, tag) {
23
- return `/experiences/${experienceId}/tag/${encodeURIComponent(toStoredRatingTag(tag).slice(1))}`;
22
+ function getExperienceRatingTagPath(tag) {
23
+ return `/experiences/tag/${encodeURIComponent(toStoredRatingTag(tag).slice(1))}`;
24
24
  }
25
25
  exports.getExperienceRatingTagPath = getExperienceRatingTagPath;
26
- function getEntityRatingTagPath(entityType, tag, entityId) {
26
+ function getEntityRatingTagPath(entityType, tag) {
27
27
  if (entityType === "stadium") {
28
- return getStadiumRatingTagPath(entityId !== null && entityId !== void 0 ? entityId : "", tag);
28
+ return getStadiumRatingTagPath(tag);
29
29
  }
30
30
  if (entityType === "experience") {
31
- return getExperienceRatingTagPath(entityId !== null && entityId !== void 0 ? entityId : "", tag);
31
+ return getExperienceRatingTagPath(tag);
32
32
  }
33
33
  return getRatingTagPath(tag);
34
34
  }
@@ -4,7 +4,7 @@ export declare const MINI_LEAGUE_MAX_PLATFORM_LEAGUES = 2;
4
4
  /** Max active mini leagues a user can create (own) at once. */
5
5
  export declare const MINI_LEAGUE_MAX_CREATED_PER_USER = 5;
6
6
  /** Max active mini leagues a user can join (not own) at once. */
7
- export declare const MINI_LEAGUE_MAX_JOINED_PER_USER = 5;
7
+ export declare const MINI_LEAGUE_MAX_JOINED_PER_USER = 10;
8
8
  /** Combined cap when both create and join allotments are full. */
9
9
  export declare const MINI_LEAGUE_MAX_MEMBERSHIPS_PER_USER: number;
10
10
  export type MiniLeagueAllotmentCounts = {
@@ -36,7 +36,6 @@ export declare const miniLeagueSchema: z.ZodObject<{
36
36
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
37
37
  location: z.ZodOptional<z.ZodString>;
38
38
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- /** Full AppsFlyer OneLink URL ready to share. */
40
39
  createdAt: z.ZodNumber;
41
40
  updatedAt: z.ZodNumber;
42
41
  leagues: z.ZodOptional<z.ZodObject<{
@@ -1167,12 +1166,11 @@ export declare const miniLeagueSchema: z.ZodObject<{
1167
1166
  clubhouse?: boolean | undefined;
1168
1167
  spanish?: boolean | undefined;
1169
1168
  }>>;
1170
- /** 1-based day index within the league window (for chart filtering). */
1171
1169
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
1172
1170
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
1173
1171
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
1174
1172
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
1175
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
1173
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
1176
1174
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
1177
1175
  listLikes: z.ZodOptional<z.ZodBoolean>;
1178
1176
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -1292,7 +1290,7 @@ export declare const miniLeagueSchema: z.ZodObject<{
1292
1290
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
1293
1291
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
1294
1292
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
1295
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
1293
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
1296
1294
  streak: z.ZodOptional<z.ZodObject<{
1297
1295
  current: z.ZodNumber;
1298
1296
  longest: z.ZodNumber;
@@ -1743,7 +1741,6 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
1743
1741
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
1744
1742
  location: z.ZodOptional<z.ZodString>;
1745
1743
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1746
- /** Full AppsFlyer OneLink URL ready to share. */
1747
1744
  createdAt: z.ZodNumber;
1748
1745
  updatedAt: z.ZodNumber;
1749
1746
  leagues: z.ZodOptional<z.ZodObject<{
@@ -2874,12 +2871,11 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
2874
2871
  clubhouse?: boolean | undefined;
2875
2872
  spanish?: boolean | undefined;
2876
2873
  }>>;
2877
- /** 1-based day index within the league window (for chart filtering). */
2878
2874
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
2879
2875
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
2880
2876
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
2881
2877
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
2882
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
2878
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
2883
2879
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
2884
2880
  listLikes: z.ZodOptional<z.ZodBoolean>;
2885
2881
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -2999,7 +2995,7 @@ export declare const miniLeagueMemberSchema: z.ZodObject<{
2999
2995
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
3000
2996
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
3001
2997
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
3002
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
2998
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
3003
2999
  streak: z.ZodOptional<z.ZodObject<{
3004
3000
  current: z.ZodNumber;
3005
3001
  longest: z.ZodNumber;
@@ -3404,7 +3400,6 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
3404
3400
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
3405
3401
  location: z.ZodOptional<z.ZodString>;
3406
3402
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3407
- /** Full AppsFlyer OneLink URL ready to share. */
3408
3403
  createdAt: z.ZodNumber;
3409
3404
  updatedAt: z.ZodNumber;
3410
3405
  leagues: z.ZodOptional<z.ZodObject<{
@@ -4535,12 +4530,11 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
4535
4530
  clubhouse?: boolean | undefined;
4536
4531
  spanish?: boolean | undefined;
4537
4532
  }>>;
4538
- /** 1-based day index within the league window (for chart filtering). */
4539
4533
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
4540
4534
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
4541
4535
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
4542
4536
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
4543
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
4537
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
4544
4538
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
4545
4539
  listLikes: z.ZodOptional<z.ZodBoolean>;
4546
4540
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -4660,7 +4654,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
4660
4654
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
4661
4655
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
4662
4656
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
4663
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
4657
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
4664
4658
  streak: z.ZodOptional<z.ZodObject<{
4665
4659
  current: z.ZodNumber;
4666
4660
  longest: z.ZodNumber;
@@ -5028,7 +5022,6 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
5028
5022
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
5029
5023
  location: z.ZodOptional<z.ZodString>;
5030
5024
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5031
- /** Full AppsFlyer OneLink URL ready to share. */
5032
5025
  createdAt: z.ZodNumber;
5033
5026
  updatedAt: z.ZodNumber;
5034
5027
  leagues: z.ZodOptional<z.ZodObject<{
@@ -6159,12 +6152,11 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
6159
6152
  clubhouse?: boolean | undefined;
6160
6153
  spanish?: boolean | undefined;
6161
6154
  }>>;
6162
- /** 1-based day index within the league window (for chart filtering). */
6163
6155
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
6164
6156
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
6165
6157
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
6166
6158
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
6167
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
6159
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
6168
6160
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
6169
6161
  listLikes: z.ZodOptional<z.ZodBoolean>;
6170
6162
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -6284,7 +6276,7 @@ export declare const miniLeagueInvitationSchema: z.ZodObject<{
6284
6276
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
6285
6277
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
6286
6278
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
6287
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
6279
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
6288
6280
  streak: z.ZodOptional<z.ZodObject<{
6289
6281
  current: z.ZodNumber;
6290
6282
  longest: z.ZodNumber;
@@ -6830,7 +6822,6 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
6830
6822
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
6831
6823
  location: z.ZodOptional<z.ZodString>;
6832
6824
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6833
- /** Full AppsFlyer OneLink URL ready to share. */
6834
6825
  createdAt: z.ZodNumber;
6835
6826
  updatedAt: z.ZodNumber;
6836
6827
  leagues: z.ZodOptional<z.ZodObject<{
@@ -7961,12 +7952,11 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
7961
7952
  clubhouse?: boolean | undefined;
7962
7953
  spanish?: boolean | undefined;
7963
7954
  }>>;
7964
- /** 1-based day index within the league window (for chart filtering). */
7965
7955
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
7966
7956
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
7967
7957
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
7968
7958
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
7969
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
7959
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
7970
7960
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
7971
7961
  listLikes: z.ZodOptional<z.ZodBoolean>;
7972
7962
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -8086,7 +8076,7 @@ export declare const miniLeagueInviteLinkPreviewDtoSchema: z.ZodObject<{
8086
8076
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
8087
8077
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
8088
8078
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
8089
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
8079
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
8090
8080
  streak: z.ZodOptional<z.ZodObject<{
8091
8081
  current: z.ZodNumber;
8092
8082
  longest: z.ZodNumber;
@@ -8528,7 +8518,6 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
8528
8518
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
8529
8519
  location: z.ZodOptional<z.ZodString>;
8530
8520
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8531
- /** Full AppsFlyer OneLink URL ready to share. */
8532
8521
  createdAt: z.ZodNumber;
8533
8522
  updatedAt: z.ZodNumber;
8534
8523
  leagues: z.ZodOptional<z.ZodObject<{
@@ -9659,12 +9648,11 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
9659
9648
  clubhouse?: boolean | undefined;
9660
9649
  spanish?: boolean | undefined;
9661
9650
  }>>;
9662
- /** 1-based day index within the league window (for chart filtering). */
9663
9651
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
9664
9652
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
9665
9653
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
9666
9654
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
9667
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
9655
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
9668
9656
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
9669
9657
  listLikes: z.ZodOptional<z.ZodBoolean>;
9670
9658
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -9784,7 +9772,7 @@ export declare const miniLeagueListResponseDtoSchema: z.ZodObject<{
9784
9772
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
9785
9773
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
9786
9774
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
9787
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
9775
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
9788
9776
  streak: z.ZodOptional<z.ZodObject<{
9789
9777
  current: z.ZodNumber;
9790
9778
  longest: z.ZodNumber;
@@ -10299,7 +10287,6 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
10299
10287
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
10300
10288
  location: z.ZodOptional<z.ZodString>;
10301
10289
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10302
- /** Full AppsFlyer OneLink URL ready to share. */
10303
10290
  createdAt: z.ZodNumber;
10304
10291
  updatedAt: z.ZodNumber;
10305
10292
  leagues: z.ZodOptional<z.ZodObject<{
@@ -11430,12 +11417,11 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
11430
11417
  clubhouse?: boolean | undefined;
11431
11418
  spanish?: boolean | undefined;
11432
11419
  }>>;
11433
- /** 1-based day index within the league window (for chart filtering). */
11434
11420
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
11435
11421
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
11436
11422
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
11437
11423
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
11438
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
11424
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
11439
11425
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
11440
11426
  listLikes: z.ZodOptional<z.ZodBoolean>;
11441
11427
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -11555,7 +11541,7 @@ export declare const miniLeagueMembersResponseDtoSchema: z.ZodObject<{
11555
11541
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
11556
11542
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
11557
11543
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
11558
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
11544
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
11559
11545
  streak: z.ZodOptional<z.ZodObject<{
11560
11546
  current: z.ZodNumber;
11561
11547
  longest: z.ZodNumber;
@@ -11992,7 +11978,6 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
11992
11978
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
11993
11979
  location: z.ZodOptional<z.ZodString>;
11994
11980
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11995
- /** Full AppsFlyer OneLink URL ready to share. */
11996
11981
  createdAt: z.ZodNumber;
11997
11982
  updatedAt: z.ZodNumber;
11998
11983
  leagues: z.ZodOptional<z.ZodObject<{
@@ -13123,12 +13108,11 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
13123
13108
  clubhouse?: boolean | undefined;
13124
13109
  spanish?: boolean | undefined;
13125
13110
  }>>;
13126
- /** 1-based day index within the league window (for chart filtering). */
13127
13111
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
13128
13112
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
13129
13113
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
13130
13114
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
13131
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
13115
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
13132
13116
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
13133
13117
  listLikes: z.ZodOptional<z.ZodBoolean>;
13134
13118
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -13248,7 +13232,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
13248
13232
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
13249
13233
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
13250
13234
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
13251
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
13235
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
13252
13236
  streak: z.ZodOptional<z.ZodObject<{
13253
13237
  current: z.ZodNumber;
13254
13238
  longest: z.ZodNumber;
@@ -13616,7 +13600,6 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
13616
13600
  birthdayTimeZone: z.ZodOptional<z.ZodString>;
13617
13601
  location: z.ZodOptional<z.ZodString>;
13618
13602
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13619
- /** Full AppsFlyer OneLink URL ready to share. */
13620
13603
  createdAt: z.ZodNumber;
13621
13604
  updatedAt: z.ZodNumber;
13622
13605
  leagues: z.ZodOptional<z.ZodObject<{
@@ -14747,12 +14730,11 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
14747
14730
  clubhouse?: boolean | undefined;
14748
14731
  spanish?: boolean | undefined;
14749
14732
  }>>;
14750
- /** 1-based day index within the league window (for chart filtering). */
14751
14733
  repliesToRatings: z.ZodOptional<z.ZodBoolean>;
14752
14734
  repliesToLists: z.ZodOptional<z.ZodBoolean>;
14753
14735
  repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
14754
14736
  repliesToComments: z.ZodOptional<z.ZodBoolean>;
14755
- ratingLikes: z.ZodOptional<z.ZodBoolean>;
14737
+ ratingLikes: z.ZodOptional<z.ZodBoolean>; /** 1-based month index within the league window. */
14756
14738
  triviaLikes: z.ZodOptional<z.ZodBoolean>;
14757
14739
  listLikes: z.ZodOptional<z.ZodBoolean>;
14758
14740
  eventLikes: z.ZodOptional<z.ZodBoolean>;
@@ -14872,7 +14854,7 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
14872
14854
  preferTraditionalTeamLayout: z.ZodOptional<z.ZodBoolean>;
14873
14855
  wasPromptedForReview: z.ZodOptional<z.ZodBoolean>;
14874
14856
  hideAddFavoritePrompt: z.ZodOptional<z.ZodBoolean>;
14875
- isAnonymous: z.ZodOptional<z.ZodBoolean>;
14857
+ isAnonymous: z.ZodOptional<z.ZodBoolean>; /** Month buckets — empty when the league does not span 2+ calendar months. */
14876
14858
  streak: z.ZodOptional<z.ZodObject<{
14877
14859
  current: z.ZodNumber;
14878
14860
  longest: z.ZodNumber;
@@ -15360,7 +15342,6 @@ export declare const miniLeagueInvitationsResponseDtoSchema: z.ZodObject<{
15360
15342
  export declare const miniLeagueLeaderboardResponseDtoSchema: z.ZodObject<{
15361
15343
  leaderboard: z.ZodArray<z.ZodObject<{
15362
15344
  id: z.ZodString;
15363
- /** Preferred: one or more platform leagues (max 2). */
15364
15345
  username: z.ZodString;
15365
15346
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15366
15347
  badge: z.ZodOptional<z.ZodString>;
@@ -15392,7 +15373,6 @@ export declare const miniLeagueLeaderboardResponseDtoSchema: z.ZodObject<{
15392
15373
  }>, "many">;
15393
15374
  currentUserEntry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15394
15375
  id: z.ZodString;
15395
- /** Preferred: one or more platform leagues (max 2). */
15396
15376
  username: z.ZodString;
15397
15377
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15398
15378
  badge: z.ZodOptional<z.ZodString>;
@@ -10,7 +10,7 @@ exports.MINI_LEAGUE_MAX_PLATFORM_LEAGUES = 2;
10
10
  /** Max active mini leagues a user can create (own) at once. */
11
11
  exports.MINI_LEAGUE_MAX_CREATED_PER_USER = 5;
12
12
  /** Max active mini leagues a user can join (not own) at once. */
13
- exports.MINI_LEAGUE_MAX_JOINED_PER_USER = 5;
13
+ exports.MINI_LEAGUE_MAX_JOINED_PER_USER = 10;
14
14
  /** Combined cap when both create and join allotments are full. */
15
15
  exports.MINI_LEAGUE_MAX_MEMBERSHIPS_PER_USER = exports.MINI_LEAGUE_MAX_CREATED_PER_USER + exports.MINI_LEAGUE_MAX_JOINED_PER_USER;
16
16
  const countMiniLeagueAllotments = (leagues, userId, now = Date.now()) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.492",
3
+ "version": "1.1.494",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",