@footballbingo/client 4.1.0 → 4.3.0
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/types.gen.d.ts +33 -4
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -3340,7 +3340,7 @@ export type DeleteUserResponse = {
|
|
|
3340
3340
|
};
|
|
3341
3341
|
export type UserActivityItem = {
|
|
3342
3342
|
id: string;
|
|
3343
|
-
type: 'game_joined' | 'game_completed' | 'bingo_achieved' | 'line_completed' | 'achievement_unlocked' | 'level_up' | 'prediction_made' | 'prediction_resolved' | 'lineup_created' | 'tactics_created' | 'transfer_plan_created' | 'comment_posted' | 'match_rated' | 'user_followed' | '
|
|
3343
|
+
type: 'game_joined' | 'game_completed' | 'bingo_achieved' | 'line_completed' | 'achievement_unlocked' | 'level_up' | 'prediction_made' | 'prediction_resolved' | 'lineup_created' | 'tactics_created' | 'transfer_plan_created' | 'comment_posted' | 'match_rated' | 'user_followed' | 'mini_game_completed' | 'spin_wheel_spun' | 'challenge_completed';
|
|
3344
3344
|
timestamp: string;
|
|
3345
3345
|
description: string;
|
|
3346
3346
|
metadata: {
|
|
@@ -3813,6 +3813,11 @@ export type LineupResponse = {
|
|
|
3813
3813
|
};
|
|
3814
3814
|
};
|
|
3815
3815
|
isPublic?: boolean;
|
|
3816
|
+
isDraft?: boolean;
|
|
3817
|
+
autoShareToFeed?: boolean;
|
|
3818
|
+
fixtureId?: string | null;
|
|
3819
|
+
coverImageUrl?: string | null;
|
|
3820
|
+
sharesCount?: number;
|
|
3816
3821
|
shareToken: string;
|
|
3817
3822
|
shareUrl?: string;
|
|
3818
3823
|
viewCount?: number;
|
|
@@ -3863,7 +3868,16 @@ export type LineupListItem = {
|
|
|
3863
3868
|
} | null;
|
|
3864
3869
|
};
|
|
3865
3870
|
};
|
|
3871
|
+
preview?: Array<{
|
|
3872
|
+
position: string;
|
|
3873
|
+
photo: string | null;
|
|
3874
|
+
}>;
|
|
3866
3875
|
isPublic?: boolean;
|
|
3876
|
+
isDraft?: boolean;
|
|
3877
|
+
autoShareToFeed?: boolean;
|
|
3878
|
+
fixtureId?: string | null;
|
|
3879
|
+
coverImageUrl?: string | null;
|
|
3880
|
+
sharesCount?: number;
|
|
3867
3881
|
shareToken: string;
|
|
3868
3882
|
shareUrl?: string;
|
|
3869
3883
|
viewCount?: number;
|
|
@@ -3901,6 +3915,13 @@ export type TrendingLineupsResponse = {
|
|
|
3901
3915
|
viewCount: number;
|
|
3902
3916
|
commentsCount?: number;
|
|
3903
3917
|
likesCount?: number;
|
|
3918
|
+
sharesCount?: number;
|
|
3919
|
+
coverImageUrl?: string | null;
|
|
3920
|
+
fixtureId?: string | null;
|
|
3921
|
+
preview?: Array<{
|
|
3922
|
+
position: string;
|
|
3923
|
+
photo: string | null;
|
|
3924
|
+
}>;
|
|
3904
3925
|
isLikedByUser?: boolean;
|
|
3905
3926
|
createdAt: string;
|
|
3906
3927
|
playerCount: number;
|
|
@@ -4449,6 +4470,7 @@ export type ShareDto = {
|
|
|
4449
4470
|
fromAvatarUrl: string | null;
|
|
4450
4471
|
entityType: string;
|
|
4451
4472
|
entityId: string;
|
|
4473
|
+
entityShareToken: string | null;
|
|
4452
4474
|
message: string | null;
|
|
4453
4475
|
readAt: string | null;
|
|
4454
4476
|
createdAt: string;
|
|
@@ -7470,6 +7492,9 @@ export type CreateLineupInput = {
|
|
|
7470
7492
|
};
|
|
7471
7493
|
description?: string;
|
|
7472
7494
|
isPublic?: boolean;
|
|
7495
|
+
isDraft?: boolean;
|
|
7496
|
+
autoShareToFeed?: boolean;
|
|
7497
|
+
fixtureId?: string;
|
|
7473
7498
|
};
|
|
7474
7499
|
export type UpdateLineupInput = {
|
|
7475
7500
|
title?: string;
|
|
@@ -7506,6 +7531,9 @@ export type UpdateLineupInput = {
|
|
|
7506
7531
|
};
|
|
7507
7532
|
description?: string;
|
|
7508
7533
|
isPublic?: boolean;
|
|
7534
|
+
isDraft?: boolean;
|
|
7535
|
+
autoShareToFeed?: boolean;
|
|
7536
|
+
fixtureId?: string | null;
|
|
7509
7537
|
mode?: 'professional' | 'amateur';
|
|
7510
7538
|
};
|
|
7511
7539
|
export type AnimationDataInput = {
|
|
@@ -16026,6 +16054,7 @@ export type GetMyLineupsData = {
|
|
|
16026
16054
|
offset?: number | null;
|
|
16027
16055
|
sortBy?: 'createdAt' | 'updatedAt' | 'title';
|
|
16028
16056
|
sortOrder?: 'asc' | 'desc';
|
|
16057
|
+
filter?: 'all' | 'drafts' | 'published';
|
|
16029
16058
|
};
|
|
16030
16059
|
url: '/api/v1/community/lineups';
|
|
16031
16060
|
};
|
|
@@ -16118,7 +16147,7 @@ export type ListLineupsData = {
|
|
|
16118
16147
|
search?: string;
|
|
16119
16148
|
formation?: string;
|
|
16120
16149
|
mode?: 'professional' | 'amateur';
|
|
16121
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16150
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16122
16151
|
sortOrder?: 'asc' | 'desc';
|
|
16123
16152
|
limit?: number;
|
|
16124
16153
|
offset?: number | null;
|
|
@@ -16156,7 +16185,7 @@ export type ListTrendingLineupsData = {
|
|
|
16156
16185
|
search?: string;
|
|
16157
16186
|
formation?: string;
|
|
16158
16187
|
mode?: 'professional' | 'amateur';
|
|
16159
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16188
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16160
16189
|
sortOrder?: 'asc' | 'desc';
|
|
16161
16190
|
limit?: number;
|
|
16162
16191
|
offset?: number | null;
|
|
@@ -16194,7 +16223,7 @@ export type ListPopularLineupsData = {
|
|
|
16194
16223
|
search?: string;
|
|
16195
16224
|
formation?: string;
|
|
16196
16225
|
mode?: 'professional' | 'amateur';
|
|
16197
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16226
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16198
16227
|
sortOrder?: 'asc' | 'desc';
|
|
16199
16228
|
limit?: number;
|
|
16200
16229
|
offset?: number | null;
|