@footballbingo/client 4.2.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 +32 -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;
|
|
@@ -7471,6 +7492,9 @@ export type CreateLineupInput = {
|
|
|
7471
7492
|
};
|
|
7472
7493
|
description?: string;
|
|
7473
7494
|
isPublic?: boolean;
|
|
7495
|
+
isDraft?: boolean;
|
|
7496
|
+
autoShareToFeed?: boolean;
|
|
7497
|
+
fixtureId?: string;
|
|
7474
7498
|
};
|
|
7475
7499
|
export type UpdateLineupInput = {
|
|
7476
7500
|
title?: string;
|
|
@@ -7507,6 +7531,9 @@ export type UpdateLineupInput = {
|
|
|
7507
7531
|
};
|
|
7508
7532
|
description?: string;
|
|
7509
7533
|
isPublic?: boolean;
|
|
7534
|
+
isDraft?: boolean;
|
|
7535
|
+
autoShareToFeed?: boolean;
|
|
7536
|
+
fixtureId?: string | null;
|
|
7510
7537
|
mode?: 'professional' | 'amateur';
|
|
7511
7538
|
};
|
|
7512
7539
|
export type AnimationDataInput = {
|
|
@@ -16027,6 +16054,7 @@ export type GetMyLineupsData = {
|
|
|
16027
16054
|
offset?: number | null;
|
|
16028
16055
|
sortBy?: 'createdAt' | 'updatedAt' | 'title';
|
|
16029
16056
|
sortOrder?: 'asc' | 'desc';
|
|
16057
|
+
filter?: 'all' | 'drafts' | 'published';
|
|
16030
16058
|
};
|
|
16031
16059
|
url: '/api/v1/community/lineups';
|
|
16032
16060
|
};
|
|
@@ -16119,7 +16147,7 @@ export type ListLineupsData = {
|
|
|
16119
16147
|
search?: string;
|
|
16120
16148
|
formation?: string;
|
|
16121
16149
|
mode?: 'professional' | 'amateur';
|
|
16122
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16150
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16123
16151
|
sortOrder?: 'asc' | 'desc';
|
|
16124
16152
|
limit?: number;
|
|
16125
16153
|
offset?: number | null;
|
|
@@ -16157,7 +16185,7 @@ export type ListTrendingLineupsData = {
|
|
|
16157
16185
|
search?: string;
|
|
16158
16186
|
formation?: string;
|
|
16159
16187
|
mode?: 'professional' | 'amateur';
|
|
16160
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16188
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16161
16189
|
sortOrder?: 'asc' | 'desc';
|
|
16162
16190
|
limit?: number;
|
|
16163
16191
|
offset?: number | null;
|
|
@@ -16195,7 +16223,7 @@ export type ListPopularLineupsData = {
|
|
|
16195
16223
|
search?: string;
|
|
16196
16224
|
formation?: string;
|
|
16197
16225
|
mode?: 'professional' | 'amateur';
|
|
16198
|
-
sortBy?: 'createdAt' | 'viewCount' | 'title';
|
|
16226
|
+
sortBy?: 'hot' | 'createdAt' | 'viewCount' | 'title';
|
|
16199
16227
|
sortOrder?: 'asc' | 'desc';
|
|
16200
16228
|
limit?: number;
|
|
16201
16229
|
offset?: number | null;
|