rategame-shared 1.1.512 → 1.1.514

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { miniLeagueSchema, miniLeagueMemberSchema, miniLeagueInvitationSchema, createMiniLeagueDtoSchema, updateMiniLeagueDtoSchema, createMiniLeagueInvitationDtoSchema, miniLeagueInviteLinkSchema, miniLeagueInviteLinkResponseDtoSchema, miniLeagueInviteLinkPreviewDtoSchema, miniLeagueInviteLinkClaimResponseDtoSchema, miniLeagueJoinResponseDtoSchema, miniLeagueInvitationActionResponseDtoSchema, miniLeagueListResponseDtoSchema, miniLeagueMembersResponseDtoSchema, miniLeagueInvitationsResponseDtoSchema, miniLeagueLeaderboardResponseDtoSchema, miniLeagueUpcomingGamesResponseDtoSchema, miniLeagueMemberStatsSchema, miniLeagueRecapResponseDtoSchema, miniLeagueRecapLeagueBreakdownSchema, miniLeagueVisibilitySchema, miniLeagueStatusSchema, miniLeagueMemberRoleSchema, miniLeagueInvitationStatusSchema } from "../schemas/miniLeague";
2
+ import { miniLeagueSchema, miniLeagueMemberSchema, miniLeagueInvitationSchema, createMiniLeagueDtoSchema, updateMiniLeagueDtoSchema, createMiniLeagueInvitationDtoSchema, miniLeagueInviteLinkSchema, miniLeagueInviteLinkResponseDtoSchema, miniLeagueInviteLinkPreviewDtoSchema, miniLeagueInviteLinkClaimResponseDtoSchema, miniLeagueJoinResponseDtoSchema, miniLeagueInvitationActionResponseDtoSchema, miniLeagueListResponseDtoSchema, miniLeagueMembersResponseDtoSchema, miniLeagueInvitationsResponseDtoSchema, miniLeagueLeaderboardResponseDtoSchema, miniLeagueMeResponseDtoSchema, miniLeagueUpcomingGamesResponseDtoSchema, miniLeagueMemberStandingSchema, miniLeagueMemberStandingsSchema, miniLeagueMemberStatsSchema, miniLeagueRecapResponseDtoSchema, miniLeagueRecapLeagueBreakdownSchema, miniLeagueVisibilitySchema, miniLeagueStatusSchema, miniLeagueMemberRoleSchema, miniLeagueInvitationStatusSchema } from "../schemas/miniLeague";
3
3
  export type MiniLeague = z.infer<typeof miniLeagueSchema>;
4
4
  export type MiniLeagueMember = z.infer<typeof miniLeagueMemberSchema>;
5
5
  export type MiniLeagueInvitation = z.infer<typeof miniLeagueInvitationSchema>;
@@ -16,6 +16,9 @@ export type MiniLeagueListResponseDto = z.infer<typeof miniLeagueListResponseDto
16
16
  export type MiniLeagueMembersResponseDto = z.infer<typeof miniLeagueMembersResponseDtoSchema>;
17
17
  export type MiniLeagueInvitationsResponseDto = z.infer<typeof miniLeagueInvitationsResponseDtoSchema>;
18
18
  export type MiniLeagueLeaderboardResponseDto = z.infer<typeof miniLeagueLeaderboardResponseDtoSchema>;
19
+ export type MiniLeagueUserResponseDto = z.infer<typeof miniLeagueMeResponseDtoSchema>;
20
+ export type MiniLeagueMemberStanding = z.infer<typeof miniLeagueMemberStandingSchema>;
21
+ export type MiniLeagueMemberStandings = z.infer<typeof miniLeagueMemberStandingsSchema>;
19
22
  export type MiniLeagueUpcomingGamesResponseDto = z.infer<typeof miniLeagueUpcomingGamesResponseDtoSchema>;
20
23
  export type MiniLeagueMemberStats = z.infer<typeof miniLeagueMemberStatsSchema>;
21
24
  export type MiniLeagueRecapResponseDto = z.infer<typeof miniLeagueRecapResponseDtoSchema>;
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { leagueStatsSchema, createUserSchema, userSchema, reducedUserSchema, searchUserSchema, achievementSchema, changeUsernameSchema, globalAchievementCategorySchema } from "../schemas/user";
3
3
  export type User = z.infer<typeof userSchema>;
4
+ export type PromotionDetails = NonNullable<User["promotionDetails"]>;
4
5
  export type SearchUser = z.infer<typeof searchUserSchema>;
5
6
  export type CreateUser = z.infer<typeof createUserSchema>;
6
7
  export type LeagueStats = z.infer<typeof leagueStatsSchema>;
@@ -1218,6 +1218,19 @@ export declare const articleSchema: z.ZodObject<{
1218
1218
  youtube?: string | undefined;
1219
1219
  tiktok?: string | undefined;
1220
1220
  }>>;
1221
+ promotionDetails: z.ZodOptional<z.ZodObject<{
1222
+ title: z.ZodString;
1223
+ description: z.ZodString;
1224
+ promotionLink: z.ZodString;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ title: string;
1227
+ description: string;
1228
+ promotionLink: string;
1229
+ }, {
1230
+ title: string;
1231
+ description: string;
1232
+ promotionLink: string;
1233
+ }>>;
1221
1234
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
1222
1235
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1223
1236
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2975,6 +2988,19 @@ export declare const createArticleSchema: z.ZodObject<{
2975
2988
  youtube?: string | undefined;
2976
2989
  tiktok?: string | undefined;
2977
2990
  }>>;
2991
+ promotionDetails: z.ZodOptional<z.ZodObject<{
2992
+ title: z.ZodString;
2993
+ description: z.ZodString;
2994
+ promotionLink: z.ZodString;
2995
+ }, "strip", z.ZodTypeAny, {
2996
+ title: string;
2997
+ description: string;
2998
+ promotionLink: string;
2999
+ }, {
3000
+ title: string;
3001
+ description: string;
3002
+ promotionLink: string;
3003
+ }>>;
2978
3004
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
2979
3005
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2980
3006
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4798,6 +4824,19 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
4798
4824
  youtube?: string | undefined;
4799
4825
  tiktok?: string | undefined;
4800
4826
  }>>;
4827
+ promotionDetails: z.ZodOptional<z.ZodObject<{
4828
+ title: z.ZodString;
4829
+ description: z.ZodString;
4830
+ promotionLink: z.ZodString;
4831
+ }, "strip", z.ZodTypeAny, {
4832
+ title: string;
4833
+ description: string;
4834
+ promotionLink: string;
4835
+ }, {
4836
+ title: string;
4837
+ description: string;
4838
+ promotionLink: string;
4839
+ }>>;
4801
4840
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
4802
4841
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
4803
4842
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6423,6 +6462,19 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
6423
6462
  youtube?: string | undefined;
6424
6463
  tiktok?: string | undefined;
6425
6464
  }>>;
6465
+ promotionDetails: z.ZodOptional<z.ZodObject<{
6466
+ title: z.ZodString;
6467
+ description: z.ZodString;
6468
+ promotionLink: z.ZodString;
6469
+ }, "strip", z.ZodTypeAny, {
6470
+ title: string;
6471
+ description: string;
6472
+ promotionLink: string;
6473
+ }, {
6474
+ title: string;
6475
+ description: string;
6476
+ promotionLink: string;
6477
+ }>>;
6426
6478
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
6427
6479
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
6428
6480
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8100,6 +8152,19 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
8100
8152
  youtube?: string | undefined;
8101
8153
  tiktok?: string | undefined;
8102
8154
  }>>;
8155
+ promotionDetails: z.ZodOptional<z.ZodObject<{
8156
+ title: z.ZodString;
8157
+ description: z.ZodString;
8158
+ promotionLink: z.ZodString;
8159
+ }, "strip", z.ZodTypeAny, {
8160
+ title: string;
8161
+ description: string;
8162
+ promotionLink: string;
8163
+ }, {
8164
+ title: string;
8165
+ description: string;
8166
+ promotionLink: string;
8167
+ }>>;
8103
8168
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
8104
8169
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
8105
8170
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1100,6 +1100,19 @@ export declare const chatMessageSchema: z.ZodObject<{
1100
1100
  youtube?: string | undefined;
1101
1101
  tiktok?: string | undefined;
1102
1102
  }>>;
1103
+ promotionDetails: z.ZodOptional<z.ZodObject<{
1104
+ title: z.ZodString;
1105
+ description: z.ZodString;
1106
+ promotionLink: z.ZodString;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ title: string;
1109
+ description: string;
1110
+ promotionLink: string;
1111
+ }, {
1112
+ title: string;
1113
+ description: string;
1114
+ promotionLink: string;
1115
+ }>>;
1103
1116
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
1104
1117
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1105
1118
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2730,6 +2743,19 @@ export declare const chatMessageSchema: z.ZodObject<{
2730
2743
  youtube?: string | undefined;
2731
2744
  tiktok?: string | undefined;
2732
2745
  }>>;
2746
+ promotionDetails: z.ZodOptional<z.ZodObject<{
2747
+ title: z.ZodString;
2748
+ description: z.ZodString;
2749
+ promotionLink: z.ZodString;
2750
+ }, "strip", z.ZodTypeAny, {
2751
+ title: string;
2752
+ description: string;
2753
+ promotionLink: string;
2754
+ }, {
2755
+ title: string;
2756
+ description: string;
2757
+ promotionLink: string;
2758
+ }>>;
2733
2759
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
2734
2760
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2735
2761
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4419,6 +4445,19 @@ export declare const communityChatMessageSchema: z.ZodObject<{
4419
4445
  youtube?: string | undefined;
4420
4446
  tiktok?: string | undefined;
4421
4447
  }>>;
4448
+ promotionDetails: z.ZodOptional<z.ZodObject<{
4449
+ title: z.ZodString;
4450
+ description: z.ZodString;
4451
+ promotionLink: z.ZodString;
4452
+ }, "strip", z.ZodTypeAny, {
4453
+ title: string;
4454
+ description: string;
4455
+ promotionLink: string;
4456
+ }, {
4457
+ title: string;
4458
+ description: string;
4459
+ promotionLink: string;
4460
+ }>>;
4422
4461
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
4423
4462
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
4424
4463
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6048,6 +6087,19 @@ export declare const communityChatMessageSchema: z.ZodObject<{
6048
6087
  youtube?: string | undefined;
6049
6088
  tiktok?: string | undefined;
6050
6089
  }>>;
6090
+ promotionDetails: z.ZodOptional<z.ZodObject<{
6091
+ title: z.ZodString;
6092
+ description: z.ZodString;
6093
+ promotionLink: z.ZodString;
6094
+ }, "strip", z.ZodTypeAny, {
6095
+ title: string;
6096
+ description: string;
6097
+ promotionLink: string;
6098
+ }, {
6099
+ title: string;
6100
+ description: string;
6101
+ promotionLink: string;
6102
+ }>>;
6051
6103
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
6052
6104
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
6053
6105
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -7731,6 +7783,19 @@ export declare const messageReactionSchema: z.ZodObject<{
7731
7783
  youtube?: string | undefined;
7732
7784
  tiktok?: string | undefined;
7733
7785
  }>>;
7786
+ promotionDetails: z.ZodOptional<z.ZodObject<{
7787
+ title: z.ZodString;
7788
+ description: z.ZodString;
7789
+ promotionLink: z.ZodString;
7790
+ }, "strip", z.ZodTypeAny, {
7791
+ title: string;
7792
+ description: string;
7793
+ promotionLink: string;
7794
+ }, {
7795
+ title: string;
7796
+ description: string;
7797
+ promotionLink: string;
7798
+ }>>;
7734
7799
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
7735
7800
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
7736
7801
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1275,6 +1275,19 @@ export declare const experienceRatingSchema: z.ZodObject<{
1275
1275
  youtube?: string | undefined;
1276
1276
  tiktok?: string | undefined;
1277
1277
  }>>;
1278
+ promotionDetails: z.ZodOptional<z.ZodObject<{
1279
+ title: z.ZodString;
1280
+ description: z.ZodString;
1281
+ promotionLink: z.ZodString;
1282
+ }, "strip", z.ZodTypeAny, {
1283
+ title: string;
1284
+ description: string;
1285
+ promotionLink: string;
1286
+ }, {
1287
+ title: string;
1288
+ description: string;
1289
+ promotionLink: string;
1290
+ }>>;
1278
1291
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
1279
1292
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1280
1293
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3202,6 +3215,19 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
3202
3215
  youtube?: string | undefined;
3203
3216
  tiktok?: string | undefined;
3204
3217
  }>>;
3218
+ promotionDetails: z.ZodOptional<z.ZodObject<{
3219
+ title: z.ZodString;
3220
+ description: z.ZodString;
3221
+ promotionLink: z.ZodString;
3222
+ }, "strip", z.ZodTypeAny, {
3223
+ title: string;
3224
+ description: string;
3225
+ promotionLink: string;
3226
+ }, {
3227
+ title: string;
3228
+ description: string;
3229
+ promotionLink: string;
3230
+ }>>;
3205
3231
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
3206
3232
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
3207
3233
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5032,6 +5058,19 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
5032
5058
  youtube?: string | undefined;
5033
5059
  tiktok?: string | undefined;
5034
5060
  }>>;
5061
+ promotionDetails: z.ZodOptional<z.ZodObject<{
5062
+ title: z.ZodString;
5063
+ description: z.ZodString;
5064
+ promotionLink: z.ZodString;
5065
+ }, "strip", z.ZodTypeAny, {
5066
+ title: string;
5067
+ description: string;
5068
+ promotionLink: string;
5069
+ }, {
5070
+ title: string;
5071
+ description: string;
5072
+ promotionLink: string;
5073
+ }>>;
5035
5074
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
5036
5075
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
5037
5076
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6657,6 +6696,19 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
6657
6696
  youtube?: string | undefined;
6658
6697
  tiktok?: string | undefined;
6659
6698
  }>>;
6699
+ promotionDetails: z.ZodOptional<z.ZodObject<{
6700
+ title: z.ZodString;
6701
+ description: z.ZodString;
6702
+ promotionLink: z.ZodString;
6703
+ }, "strip", z.ZodTypeAny, {
6704
+ title: string;
6705
+ description: string;
6706
+ promotionLink: string;
6707
+ }, {
6708
+ title: string;
6709
+ description: string;
6710
+ promotionLink: string;
6711
+ }>>;
6660
6712
  platform: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ios">, z.ZodLiteral<"android">, z.ZodLiteral<"macos">, z.ZodLiteral<"windows">, z.ZodLiteral<"web">]>>;
6661
6713
  selectedTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
6662
6714
  favoriteTeamsPerLeague: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;