@20minutes/tyr 2.7.5 → 2.8.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/index.es.js +12809 -12695
- package/dist/index.umd.js +92 -92
- package/dist/js/main.min.js +2 -2
- package/dist/src/assets/main/concern.d.ts +1 -0
- package/dist/src/components/organisms/HomePage/GamesCarousel/GamesCarousel.stories.d.ts +2 -0
- package/dist/src/components/organisms/MostPages/MostReadArticlesBlock/MostReadArticlesBlock.d.ts +9 -1
- package/dist/src/components/organisms/VideosCarousel/VideosCarousel.stories.d.ts +2 -0
- package/dist/src/containers/MainMostReadContainer/MainMostReadContainer.d.ts +7 -0
- package/dist/src/containers/MainMostReadContainer/index.d.ts +1 -0
- package/dist/src/containers/MainMostReadContainer/transformer.d.ts +10 -0
- package/dist/src/containers/MainMostReadContainer/useMainMostReadContainer.d.ts +11 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types/Window.d.ts +2 -0
- package/dist/src/types/graphql.d.ts +172 -91
- package/package.json +1 -1
|
@@ -16,3 +16,4 @@ export declare const loadLatestContentsCarouselContainer: () => void;
|
|
|
16
16
|
export declare const loadLiveRefreshButton: () => void;
|
|
17
17
|
export declare const loadArchivePdfList: () => void;
|
|
18
18
|
export declare const loadMoviesContainer: () => void;
|
|
19
|
+
export declare const loadMainMostReadContainer: () => void;
|
|
@@ -85,6 +85,8 @@ declare const meta: {
|
|
|
85
85
|
unselectable?: "off" | "on" | undefined;
|
|
86
86
|
inputMode?: "url" | "text" | "search" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
87
87
|
is?: string | undefined;
|
|
88
|
+
exportparts?: string | undefined;
|
|
89
|
+
part?: string | undefined;
|
|
88
90
|
fetchpriority?: "auto" | "high" | "low" | undefined;
|
|
89
91
|
"aria-activedescendant"?: string | undefined;
|
|
90
92
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
package/dist/src/components/organisms/MostPages/MostReadArticlesBlock/MostReadArticlesBlock.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { BoxProps, CardMostProps } from '@20minutes/hela';
|
|
1
|
+
import { BoxProps, ButtonProps, CardMostProps } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export interface MostReadArticlesBlockProps extends BoxProps {
|
|
4
4
|
items: CardMostProps[];
|
|
5
|
+
seeMoreButton?: ButtonProps;
|
|
6
|
+
variablesForQuery?: {
|
|
7
|
+
brandId: string;
|
|
8
|
+
first: number;
|
|
9
|
+
excludeModel: string[];
|
|
10
|
+
endCursor: string | null;
|
|
11
|
+
hasNextPage: boolean;
|
|
12
|
+
};
|
|
5
13
|
}
|
|
6
14
|
export declare const MostReadArticlesBlock: React.FC<MostReadArticlesBlockProps>;
|
|
@@ -85,6 +85,8 @@ declare const meta: {
|
|
|
85
85
|
unselectable?: "off" | "on" | undefined;
|
|
86
86
|
inputMode?: "url" | "text" | "search" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
87
87
|
is?: string | undefined;
|
|
88
|
+
exportparts?: string | undefined;
|
|
89
|
+
part?: string | undefined;
|
|
88
90
|
fetchpriority?: "auto" | "high" | "low" | undefined;
|
|
89
91
|
"aria-activedescendant"?: string | undefined;
|
|
90
92
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MostReadArticlesBlockProps } from '../../components';
|
|
3
|
+
interface MainMostReadContainerProps extends Required<MostReadArticlesBlockProps> {
|
|
4
|
+
isSSR?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const MainMostReadContainer: React.FC<MainMostReadContainerProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MainMostReadContainer';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MostReadArticlesBlockProps } from '../../components';
|
|
2
|
+
import { TGetMostReadContentsQuery } from '../../types/graphql';
|
|
3
|
+
import { LayoutType } from '@20minutes/hela';
|
|
4
|
+
export declare const transformContentsForMostReadPage: ({ layout, pageEndpoint, imgEndpoint, data, lastNumber, }: {
|
|
5
|
+
layout: LayoutType;
|
|
6
|
+
pageEndpoint: string;
|
|
7
|
+
imgEndpoint: string;
|
|
8
|
+
data: TGetMostReadContentsQuery | never[];
|
|
9
|
+
lastNumber?: number | undefined;
|
|
10
|
+
}) => MostReadArticlesBlockProps['items'];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MostReadArticlesBlockProps } from '../../components';
|
|
2
|
+
export interface UseMainMostReadContainer {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
items: MostReadArticlesBlockProps['items'];
|
|
5
|
+
hasNextPage: boolean;
|
|
6
|
+
onLoadMore: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const useMainMostReadContainer: (options: {
|
|
9
|
+
defaultItems: MostReadArticlesBlockProps['items'];
|
|
10
|
+
defaultVariablesForQuery: Required<MostReadArticlesBlockProps>['variablesForQuery'];
|
|
11
|
+
}) => UseMainMostReadContainer;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './containers/LiveAndMostReadContainer/transformer';
|
|
|
19
19
|
export * from './containers/LivePostsContainer/transformer';
|
|
20
20
|
export * from './containers/LivePostsContainer';
|
|
21
21
|
export * from './containers/LocalNewsContainer/transformer';
|
|
22
|
+
export * from './containers/MainMostReadContainer/transformer';
|
|
22
23
|
export * from './containers/MostReadContainer/transformer';
|
|
23
24
|
export * from './containers/MoviesContainer/transformer';
|
|
24
25
|
export * from './containers/VideoListContainer/transformer';
|
|
@@ -9,6 +9,7 @@ import { ElectionsMapConstituenciesProps } from '../components/organisms/Electio
|
|
|
9
9
|
import { ElectionsMapEuropeProps } from '../components/organisms/ElectionsPage/ElectionsMapEurope/ElectionsMapEurope';
|
|
10
10
|
import { LocalNewsProps } from '../components/organisms/HomePage/LocalNews';
|
|
11
11
|
import { LivePostsThreadProps } from '../components/organisms/LivePage/LivePostsThread';
|
|
12
|
+
import { MostReadArticlesBlockProps } from '../components/organisms/MostPages/MostReadArticlesBlock';
|
|
12
13
|
import { MostReadArticlesProps } from '../components/organisms/MostReadArticles';
|
|
13
14
|
import { MoviesListProps } from '../components/organisms/MoviePage/MoviesList';
|
|
14
15
|
import { VariablesSmartPlayerDigitekaType } from './Digiteka';
|
|
@@ -57,6 +58,7 @@ declare global {
|
|
|
57
58
|
localNewsContainer?: Required<LocalNewsProps>;
|
|
58
59
|
mostReadContainer?: Required<MostReadArticlesProps>;
|
|
59
60
|
moviesListContainer?: Required<MoviesListProps>;
|
|
61
|
+
mainMostReadContainer?: Required<MostReadArticlesBlockProps>;
|
|
60
62
|
videoListContainer?: Required<CardsListProps>;
|
|
61
63
|
};
|
|
62
64
|
ReactDOMClient: typeof ReactDOMClient;
|
|
@@ -120,10 +120,6 @@ export type Scalars = {
|
|
|
120
120
|
input: any;
|
|
121
121
|
output: any;
|
|
122
122
|
};
|
|
123
|
-
perPage: {
|
|
124
|
-
input: any;
|
|
125
|
-
output: any;
|
|
126
|
-
};
|
|
127
123
|
percentage: {
|
|
128
124
|
input: any;
|
|
129
125
|
output: any;
|
|
@@ -3271,7 +3267,6 @@ export type TCreatePhotoWithoutBinaryType = {
|
|
|
3271
3267
|
filename: Scalars['String']['input'];
|
|
3272
3268
|
focal_points?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
3273
3269
|
origin?: InputMaybe<Scalars['String']['input']>;
|
|
3274
|
-
pix_palace_id?: InputMaybe<Scalars['Int']['input']>;
|
|
3275
3270
|
ratios?: InputMaybe<TRatiosInput>;
|
|
3276
3271
|
selectable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3277
3272
|
sipa_id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3596,6 +3591,7 @@ export type TCreateUserFrontType = {
|
|
|
3596
3591
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
3597
3592
|
databaseId?: InputMaybe<Scalars['UUID']['input']>;
|
|
3598
3593
|
email: Scalars['Email']['input'];
|
|
3594
|
+
favorite_games?: InputMaybe<Array<InputMaybe<Game>>>;
|
|
3599
3595
|
firstname?: InputMaybe<Scalars['String']['input']>;
|
|
3600
3596
|
force_reset_password?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3601
3597
|
gender?: InputMaybe<Gender>;
|
|
@@ -7069,6 +7065,7 @@ export declare enum MovieStatus {
|
|
|
7069
7065
|
export type TMutation = {
|
|
7070
7066
|
__typename?: 'Mutation';
|
|
7071
7067
|
activateUserBack?: Maybe<TUserBackPayload>;
|
|
7068
|
+
addFavoriteGameUserFront?: Maybe<TUserFrontFavoriteGamesPayload>;
|
|
7072
7069
|
anonymizePassMediaUserFront?: Maybe<TUserFrontPayload>;
|
|
7073
7070
|
anonymizeUserBot?: Maybe<TUserBotPayload>;
|
|
7074
7071
|
anonymizeUserFront?: Maybe<TUserFrontPayload>;
|
|
@@ -7127,7 +7124,6 @@ export type TMutation = {
|
|
|
7127
7124
|
createPdf?: Maybe<TPdfPayload>;
|
|
7128
7125
|
createPhoto?: Maybe<TPhotoPayload>;
|
|
7129
7126
|
createPhotoFromHeimdall?: Maybe<TPhotoPayload>;
|
|
7130
|
-
createPhotoFromPixPalace?: Maybe<TPhotoPayload>;
|
|
7131
7127
|
createPhotoFromSipa?: Maybe<TPhotoPayload>;
|
|
7132
7128
|
createPhotoFromUrl?: Maybe<TPhotoPayload>;
|
|
7133
7129
|
createPlainFile?: Maybe<TPlainFilePayload>;
|
|
@@ -7231,6 +7227,7 @@ export type TMutation = {
|
|
|
7231
7227
|
refuseBookReviewSubscriptionUserFront?: Maybe<TUserFrontPayload>;
|
|
7232
7228
|
regenerateSessionIdUserFront?: Maybe<TUserFrontIdPayload>;
|
|
7233
7229
|
removeAvatarUserFront?: Maybe<TActionIdPayload>;
|
|
7230
|
+
removeFavoriteGameUserFront?: Maybe<TUserFrontFavoriteGamesPayload>;
|
|
7234
7231
|
resetPasswordUserFront?: Maybe<TActionIdPayload>;
|
|
7235
7232
|
resetUserFrontConfirmationToken?: Maybe<TActionIdPayload>;
|
|
7236
7233
|
resubscribeUserFrontPaidAccount?: Maybe<TUserFrontIdPayload>;
|
|
@@ -7389,6 +7386,9 @@ export type TMutation = {
|
|
|
7389
7386
|
export type TMutationActivateUserBackArgs = {
|
|
7390
7387
|
input?: InputMaybe<TUserBackIdentifierInputType>;
|
|
7391
7388
|
};
|
|
7389
|
+
export type TMutationAddFavoriteGameUserFrontArgs = {
|
|
7390
|
+
input?: InputMaybe<TAddFavoriteGameUserFrontType>;
|
|
7391
|
+
};
|
|
7392
7392
|
export type TMutationAnonymizePassMediaUserFrontArgs = {
|
|
7393
7393
|
input?: InputMaybe<TAnonymizePassMediaUserFrontType>;
|
|
7394
7394
|
};
|
|
@@ -7614,10 +7614,6 @@ export type TMutationCreatePhotoFromHeimdallArgs = {
|
|
|
7614
7614
|
input?: InputMaybe<TCreatePhotoWithoutBinaryType>;
|
|
7615
7615
|
options?: InputMaybe<TOptionsCreateFromHeimdallPhotoType>;
|
|
7616
7616
|
};
|
|
7617
|
-
export type TMutationCreatePhotoFromPixPalaceArgs = {
|
|
7618
|
-
input?: InputMaybe<TCreatePhotoWithoutBinaryType>;
|
|
7619
|
-
options?: InputMaybe<TOptionsCreateFromPixPalacePhotoType>;
|
|
7620
|
-
};
|
|
7621
7617
|
export type TMutationCreatePhotoFromSipaArgs = {
|
|
7622
7618
|
input?: InputMaybe<TCreatePhotoWithoutBinaryType>;
|
|
7623
7619
|
options?: InputMaybe<TOptionsCreateFromSipaPhotoType>;
|
|
@@ -7951,6 +7947,9 @@ export type TMutationRegenerateSessionIdUserFrontArgs = {
|
|
|
7951
7947
|
export type TMutationRemoveAvatarUserFrontArgs = {
|
|
7952
7948
|
input?: InputMaybe<TRemoveAvatarUserFrontType>;
|
|
7953
7949
|
};
|
|
7950
|
+
export type TMutationRemoveFavoriteGameUserFrontArgs = {
|
|
7951
|
+
input?: InputMaybe<TRemoveFavoriteGameUserFrontType>;
|
|
7952
|
+
};
|
|
7954
7953
|
export type TMutationResetPasswordUserFrontArgs = {
|
|
7955
7954
|
input?: InputMaybe<TResetPasswordUserFrontType>;
|
|
7956
7955
|
};
|
|
@@ -9165,9 +9164,6 @@ export type TOptionsCreateExternalContentType = {
|
|
|
9165
9164
|
export type TOptionsCreateFromHeimdallPhotoType = {
|
|
9166
9165
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9167
9166
|
};
|
|
9168
|
-
export type TOptionsCreateFromPixPalacePhotoType = {
|
|
9169
|
-
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9170
|
-
};
|
|
9171
9167
|
export type TOptionsCreateFromSipaPhotoType = {
|
|
9172
9168
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9173
9169
|
};
|
|
@@ -10134,15 +10130,6 @@ export type TParentTagSingleConnection = {
|
|
|
10134
10130
|
node?: Maybe<TTag>;
|
|
10135
10131
|
resolveInfo?: Maybe<TResolveInfo>;
|
|
10136
10132
|
};
|
|
10137
|
-
export type TPayPixPalacePhoto = {
|
|
10138
|
-
__typename?: 'PayPixPalacePhoto';
|
|
10139
|
-
response?: Maybe<Scalars['String']['output']>;
|
|
10140
|
-
};
|
|
10141
|
-
export type TPayPixPalacePhotoSingleConnection = {
|
|
10142
|
-
__typename?: 'PayPixPalacePhotoSingleConnection';
|
|
10143
|
-
node?: Maybe<TPayPixPalacePhoto>;
|
|
10144
|
-
resolveInfo?: Maybe<TResolveInfo>;
|
|
10145
|
-
};
|
|
10146
10133
|
export type TPdf = TNode & TTimestampable & {
|
|
10147
10134
|
__typename?: 'Pdf';
|
|
10148
10135
|
augmented_positions?: Maybe<Array<Maybe<TAugmentedPositions>>>;
|
|
@@ -10254,7 +10241,6 @@ export type TPhoto = TNode & TTimestampable & {
|
|
|
10254
10241
|
md5?: Maybe<Scalars['String']['output']>;
|
|
10255
10242
|
mimetype?: Maybe<Scalars['String']['output']>;
|
|
10256
10243
|
origin?: Maybe<Scalars['String']['output']>;
|
|
10257
|
-
pix_palace_id?: Maybe<Scalars['Int']['output']>;
|
|
10258
10244
|
ratios?: Maybe<TRatios>;
|
|
10259
10245
|
selectable?: Maybe<Scalars['Boolean']['output']>;
|
|
10260
10246
|
sipa_id?: Maybe<Scalars['String']['output']>;
|
|
@@ -10464,62 +10450,6 @@ export declare enum Picto {
|
|
|
10464
10450
|
podcast = "podcast",
|
|
10465
10451
|
video = "video"
|
|
10466
10452
|
}
|
|
10467
|
-
export type TPixPalacePhoto = {
|
|
10468
|
-
__typename?: 'PixPalacePhoto';
|
|
10469
|
-
category?: Maybe<Scalars['String']['output']>;
|
|
10470
|
-
created_at?: Maybe<Scalars['String']['output']>;
|
|
10471
|
-
creator?: Maybe<Scalars['String']['output']>;
|
|
10472
|
-
credit?: Maybe<Scalars['String']['output']>;
|
|
10473
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
10474
|
-
file_name?: Maybe<Scalars['String']['output']>;
|
|
10475
|
-
headline?: Maybe<Scalars['String']['output']>;
|
|
10476
|
-
id?: Maybe<Scalars['Int']['output']>;
|
|
10477
|
-
location?: Maybe<Scalars['String']['output']>;
|
|
10478
|
-
max_avail_height?: Maybe<Scalars['Int']['output']>;
|
|
10479
|
-
max_avail_width?: Maybe<Scalars['Int']['output']>;
|
|
10480
|
-
ms_picture_id?: Maybe<Scalars['String']['output']>;
|
|
10481
|
-
original_filename?: Maybe<Scalars['String']['output']>;
|
|
10482
|
-
ratio?: Maybe<Scalars['Float']['output']>;
|
|
10483
|
-
source?: Maybe<Scalars['String']['output']>;
|
|
10484
|
-
thumb_location?: Maybe<Scalars['String']['output']>;
|
|
10485
|
-
title?: Maybe<Scalars['String']['output']>;
|
|
10486
|
-
updated_at?: Maybe<Scalars['String']['output']>;
|
|
10487
|
-
};
|
|
10488
|
-
export type TPixPalacePhotoEdge = {
|
|
10489
|
-
__typename?: 'PixPalacePhotoEdge';
|
|
10490
|
-
cursor: Scalars['String']['output'];
|
|
10491
|
-
node?: Maybe<TPixPalacePhoto>;
|
|
10492
|
-
};
|
|
10493
|
-
export type TPixPalacePhotoFilter = {
|
|
10494
|
-
keywords?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
10495
|
-
provider?: InputMaybe<Array<InputMaybe<PixPalacePhotoProviderField>>>;
|
|
10496
|
-
};
|
|
10497
|
-
export type TPixPalacePhotoListConnection = {
|
|
10498
|
-
__typename?: 'PixPalacePhotoListConnection';
|
|
10499
|
-
edges?: Maybe<Array<Maybe<TPixPalacePhotoEdge>>>;
|
|
10500
|
-
pageInfo: TPageInfo;
|
|
10501
|
-
resolveInfo?: Maybe<TResolveInfo>;
|
|
10502
|
-
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
10503
|
-
};
|
|
10504
|
-
export type TPixPalacePhotoOrderField = {
|
|
10505
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
10506
|
-
per_page?: InputMaybe<Scalars['perPage']['input']>;
|
|
10507
|
-
sort_by?: InputMaybe<PixPalacePhotoSortField>;
|
|
10508
|
-
};
|
|
10509
|
-
export declare enum PixPalacePhotoProviderField {
|
|
10510
|
-
AFP = "AFP",
|
|
10511
|
-
SIPA_AP = "SIPA_AP",
|
|
10512
|
-
SIPA_PRESS = "SIPA_PRESS"
|
|
10513
|
-
}
|
|
10514
|
-
export declare enum PixPalacePhotoSortField {
|
|
10515
|
-
ASC_CREATED = "ASC_CREATED",
|
|
10516
|
-
ASC_DATE = "ASC_DATE",
|
|
10517
|
-
DATE_CREATED = "DATE_CREATED",
|
|
10518
|
-
PER_AGENCY = "PER_AGENCY",
|
|
10519
|
-
RANDOM = "RANDOM",
|
|
10520
|
-
RECEPTION_DATE = "RECEPTION_DATE",
|
|
10521
|
-
RELEVANCE = "RELEVANCE"
|
|
10522
|
-
}
|
|
10523
10453
|
export type TPlainFile = TNode & TTimestampable & {
|
|
10524
10454
|
__typename?: 'PlainFile';
|
|
10525
10455
|
brand_id: Scalars['ID']['output'];
|
|
@@ -11922,8 +11852,6 @@ export type TQuery = {
|
|
|
11922
11852
|
movie?: Maybe<TMovieSingleConnection>;
|
|
11923
11853
|
movies?: Maybe<TMovieListConnection>;
|
|
11924
11854
|
node?: Maybe<TNode>;
|
|
11925
|
-
payPixPalace?: Maybe<TPayPixPalacePhotoSingleConnection>;
|
|
11926
|
-
pixPalacePhotos?: Maybe<TPixPalacePhotoListConnection>;
|
|
11927
11855
|
relay: TQuery;
|
|
11928
11856
|
roles?: Maybe<TRoleListConnection>;
|
|
11929
11857
|
sign?: Maybe<TSignSingleConnection>;
|
|
@@ -12098,15 +12026,6 @@ export type TQueryMoviesArgs = {
|
|
|
12098
12026
|
export type TQueryNodeArgs = {
|
|
12099
12027
|
id: Scalars['ID']['input'];
|
|
12100
12028
|
};
|
|
12101
|
-
export type TQueryPayPixPalaceArgs = {
|
|
12102
|
-
pay_ids?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
12103
|
-
};
|
|
12104
|
-
export type TQueryPixPalacePhotosArgs = {
|
|
12105
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
12106
|
-
filter?: InputMaybe<TPixPalacePhotoFilter>;
|
|
12107
|
-
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
12108
|
-
orderBy?: InputMaybe<TPixPalacePhotoOrderField>;
|
|
12109
|
-
};
|
|
12110
12029
|
export type TQueryRolesArgs = {
|
|
12111
12030
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
12112
12031
|
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
@@ -13071,7 +12990,6 @@ export declare enum Source {
|
|
|
13071
12990
|
DYNAMO = "DYNAMO",
|
|
13072
12991
|
ELASTIC = "ELASTIC",
|
|
13073
12992
|
OPENSEARCH = "OPENSEARCH",
|
|
13074
|
-
PIXPALACE = "PIXPALACE",
|
|
13075
12993
|
SIPA = "SIPA",
|
|
13076
12994
|
STATIC = "STATIC",
|
|
13077
12995
|
VOXEUS = "VOXEUS"
|
|
@@ -15595,6 +15513,7 @@ export type TUpdateUserFrontType = {
|
|
|
15595
15513
|
darkmode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15596
15514
|
email?: InputMaybe<Scalars['Email']['input']>;
|
|
15597
15515
|
expired_at?: InputMaybe<Scalars['String']['input']>;
|
|
15516
|
+
favorite_games?: InputMaybe<Array<InputMaybe<Game>>>;
|
|
15598
15517
|
firstname?: InputMaybe<Scalars['String']['input']>;
|
|
15599
15518
|
force_reset_password?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15600
15519
|
gender?: InputMaybe<Gender>;
|
|
@@ -15940,6 +15859,7 @@ export type TUserFront = TNode & TTimestampable & {
|
|
|
15940
15859
|
edited_at?: Maybe<Scalars['DateTime']['output']>;
|
|
15941
15860
|
email?: Maybe<Scalars['Email']['output']>;
|
|
15942
15861
|
expired_at?: Maybe<Scalars['String']['output']>;
|
|
15862
|
+
favorite_games?: Maybe<Array<Maybe<Game>>>;
|
|
15943
15863
|
favorites_categories?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
15944
15864
|
firstname?: Maybe<Scalars['String']['output']>;
|
|
15945
15865
|
force_reset_password?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -16024,6 +15944,12 @@ export type TUserFrontEdge = {
|
|
|
16024
15944
|
cursor: Scalars['String']['output'];
|
|
16025
15945
|
node?: Maybe<TUserFront>;
|
|
16026
15946
|
};
|
|
15947
|
+
export type TUserFrontFavoriteGamesPayload = {
|
|
15948
|
+
__typename?: 'UserFrontFavoriteGamesPayload';
|
|
15949
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
15950
|
+
favorite_games?: Maybe<Array<Maybe<Game>>>;
|
|
15951
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
15952
|
+
};
|
|
16027
15953
|
export type TUserFrontFilter = {
|
|
16028
15954
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
16029
15955
|
gt?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -16325,6 +16251,12 @@ export type TVisitsOptionsInput = {
|
|
|
16325
16251
|
spent_time?: InputMaybe<Scalars['Float']['input']>;
|
|
16326
16252
|
total?: InputMaybe<Scalars['Int']['input']>;
|
|
16327
16253
|
};
|
|
16254
|
+
export type TAddFavoriteGameUserFrontType = {
|
|
16255
|
+
brand_id: Scalars['ID']['input'];
|
|
16256
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
16257
|
+
game_slug: Game;
|
|
16258
|
+
id: Scalars['ID']['input'];
|
|
16259
|
+
};
|
|
16328
16260
|
export type TAnonymizePassMediaUserFrontType = {
|
|
16329
16261
|
brand_id: Scalars['ID']['input'];
|
|
16330
16262
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -16732,6 +16664,43 @@ export type TFillCampaignsResultsPushType = {
|
|
|
16732
16664
|
id: Scalars['ID']['input'];
|
|
16733
16665
|
results: Scalars['JSONObject']['input'];
|
|
16734
16666
|
};
|
|
16667
|
+
export declare enum Game {
|
|
16668
|
+
g_10x10_arabian_nights = "g_10x10_arabian_nights",
|
|
16669
|
+
g_421 = "g_421",
|
|
16670
|
+
g_anagrammes = "g_anagrammes",
|
|
16671
|
+
g_bataille_navale = "g_bataille_navale",
|
|
16672
|
+
g_bubbleacademy = "g_bubbleacademy",
|
|
16673
|
+
g_buzz = "g_buzz",
|
|
16674
|
+
g_camping = "g_camping",
|
|
16675
|
+
g_cookieconnect = "g_cookieconnect",
|
|
16676
|
+
g_daily_mahjong = "g_daily_mahjong",
|
|
16677
|
+
g_fillipine = "g_fillipine",
|
|
16678
|
+
g_fitword = "g_fitword",
|
|
16679
|
+
g_fluffy_cuddlies = "g_fluffy_cuddlies",
|
|
16680
|
+
g_fubuki = "g_fubuki",
|
|
16681
|
+
g_garam = "g_garam",
|
|
16682
|
+
g_hashi = "g_hashi",
|
|
16683
|
+
g_ifleches = "g_ifleches",
|
|
16684
|
+
g_ironde_des_mots = "g_ironde_des_mots",
|
|
16685
|
+
g_jeu_des_8_differences = "g_jeu_des_8_differences",
|
|
16686
|
+
g_jewelacademy = "g_jewelacademy",
|
|
16687
|
+
g_kakuro = "g_kakuro",
|
|
16688
|
+
g_kemaru = "g_kemaru",
|
|
16689
|
+
g_le_mot_du_jour = "g_le_mot_du_jour",
|
|
16690
|
+
g_matoku = "g_matoku",
|
|
16691
|
+
g_mots_codes = "g_mots_codes",
|
|
16692
|
+
g_mots_coupes = "g_mots_coupes",
|
|
16693
|
+
g_mots_croises = "g_mots_croises",
|
|
16694
|
+
g_mots_fleches = "g_mots_fleches",
|
|
16695
|
+
g_mots_melanges = "g_mots_melanges",
|
|
16696
|
+
g_puzzle = "g_puzzle",
|
|
16697
|
+
g_snake = "g_snake",
|
|
16698
|
+
g_solitaire = "g_solitaire",
|
|
16699
|
+
g_sudoku = "g_sudoku",
|
|
16700
|
+
g_sudoku_chaos = "g_sudoku_chaos",
|
|
16701
|
+
g_sudoku_killer = "g_sudoku_killer",
|
|
16702
|
+
g_takuzu = "g_takuzu"
|
|
16703
|
+
}
|
|
16735
16704
|
export declare enum Gender {
|
|
16736
16705
|
female = "female",
|
|
16737
16706
|
male = "male",
|
|
@@ -17552,6 +17521,12 @@ export type TRemoveAvatarUserFrontType = {
|
|
|
17552
17521
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
17553
17522
|
id: Scalars['ID']['input'];
|
|
17554
17523
|
};
|
|
17524
|
+
export type TRemoveFavoriteGameUserFrontType = {
|
|
17525
|
+
brand_id: Scalars['ID']['input'];
|
|
17526
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
17527
|
+
game_slug: Game;
|
|
17528
|
+
id: Scalars['ID']['input'];
|
|
17529
|
+
};
|
|
17555
17530
|
export type TResetUserFrontConfirmationTokenType = {
|
|
17556
17531
|
brand_id: Scalars['ID']['input'];
|
|
17557
17532
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -18693,6 +18668,112 @@ export type TGetMostReadQuery = {
|
|
|
18693
18668
|
} | null;
|
|
18694
18669
|
} | null;
|
|
18695
18670
|
};
|
|
18671
|
+
export type TGetMostReadContentsQueryVariables = Exact<{
|
|
18672
|
+
brandId: Scalars['ID']['input'];
|
|
18673
|
+
excludeModel?: InputMaybe<Array<InputMaybe<EditorialContentModelType>> | InputMaybe<EditorialContentModelType>>;
|
|
18674
|
+
first: Scalars['FirstElement']['input'];
|
|
18675
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
18676
|
+
}>;
|
|
18677
|
+
export type TGetMostReadContentsQuery = {
|
|
18678
|
+
__typename?: 'Query';
|
|
18679
|
+
brand?: {
|
|
18680
|
+
__typename?: 'BrandSingleConnection';
|
|
18681
|
+
node?: {
|
|
18682
|
+
__typename?: 'Brand';
|
|
18683
|
+
publishableContents?: {
|
|
18684
|
+
__typename?: 'PublishableContentListConnection';
|
|
18685
|
+
edges?: Array<{
|
|
18686
|
+
__typename?: 'PublishableContentEdge';
|
|
18687
|
+
node?: {
|
|
18688
|
+
__typename?: 'PublishableContent';
|
|
18689
|
+
total_current_visits?: number | null;
|
|
18690
|
+
editorial_model?: EditorialContentModelType | null;
|
|
18691
|
+
legacy_id?: number | null;
|
|
18692
|
+
title?: string | null;
|
|
18693
|
+
short_title?: string | null;
|
|
18694
|
+
lead?: string | null;
|
|
18695
|
+
label?: string | null;
|
|
18696
|
+
public_edited_at?: string | null;
|
|
18697
|
+
published_at?: string | null;
|
|
18698
|
+
state?: LiveStateType | null;
|
|
18699
|
+
comments_count?: number | null;
|
|
18700
|
+
enable_comments?: boolean | null;
|
|
18701
|
+
facebook_count?: number | null;
|
|
18702
|
+
pinterest_count?: number | null;
|
|
18703
|
+
picto?: Picto | null;
|
|
18704
|
+
url?: string | null;
|
|
18705
|
+
rubric?: {
|
|
18706
|
+
__typename?: 'TagSingleConnection';
|
|
18707
|
+
node?: {
|
|
18708
|
+
__typename?: 'Tag';
|
|
18709
|
+
slug?: string | null;
|
|
18710
|
+
label?: string | null;
|
|
18711
|
+
theme?: string | null;
|
|
18712
|
+
themeColor?: {
|
|
18713
|
+
__typename?: 'ThemeColorSingleConnection';
|
|
18714
|
+
node?: {
|
|
18715
|
+
__typename?: 'ThemeColor';
|
|
18716
|
+
slug?: string | null;
|
|
18717
|
+
lightmode_color?: string | null;
|
|
18718
|
+
} | null;
|
|
18719
|
+
} | null;
|
|
18720
|
+
} | null;
|
|
18721
|
+
} | null;
|
|
18722
|
+
medias?: Array<{
|
|
18723
|
+
__typename?: 'media';
|
|
18724
|
+
type?: MediaSourceType | null;
|
|
18725
|
+
illustration?: boolean | null;
|
|
18726
|
+
legend?: string | null;
|
|
18727
|
+
photo?: {
|
|
18728
|
+
__typename?: 'PhotoSingleConnection';
|
|
18729
|
+
node?: {
|
|
18730
|
+
__typename?: 'Photo';
|
|
18731
|
+
id: string;
|
|
18732
|
+
brand_id: string;
|
|
18733
|
+
title?: string | null;
|
|
18734
|
+
caption?: string | null;
|
|
18735
|
+
credit?: string | null;
|
|
18736
|
+
slug?: string | null;
|
|
18737
|
+
} | null;
|
|
18738
|
+
} | null;
|
|
18739
|
+
video?: {
|
|
18740
|
+
__typename?: 'mediaVideo';
|
|
18741
|
+
src?: string | null;
|
|
18742
|
+
title?: string | null;
|
|
18743
|
+
duration?: number | null;
|
|
18744
|
+
} | null;
|
|
18745
|
+
podcast?: {
|
|
18746
|
+
__typename?: 'podcast';
|
|
18747
|
+
service?: PodcastSource | null;
|
|
18748
|
+
src?: string | null;
|
|
18749
|
+
title?: string | null;
|
|
18750
|
+
url?: string | null;
|
|
18751
|
+
thumbnail?: string | null;
|
|
18752
|
+
} | null;
|
|
18753
|
+
} | null> | null;
|
|
18754
|
+
photo?: {
|
|
18755
|
+
__typename?: 'PhotoSingleConnection';
|
|
18756
|
+
node?: {
|
|
18757
|
+
__typename?: 'Photo';
|
|
18758
|
+
id: string;
|
|
18759
|
+
brand_id: string;
|
|
18760
|
+
title?: string | null;
|
|
18761
|
+
caption?: string | null;
|
|
18762
|
+
credit?: string | null;
|
|
18763
|
+
slug?: string | null;
|
|
18764
|
+
} | null;
|
|
18765
|
+
} | null;
|
|
18766
|
+
} | null;
|
|
18767
|
+
} | null> | null;
|
|
18768
|
+
pageInfo: {
|
|
18769
|
+
__typename?: 'PageInfo';
|
|
18770
|
+
hasNextPage: boolean;
|
|
18771
|
+
endCursor?: string | null;
|
|
18772
|
+
};
|
|
18773
|
+
} | null;
|
|
18774
|
+
} | null;
|
|
18775
|
+
} | null;
|
|
18776
|
+
};
|
|
18696
18777
|
export type TGetMoviesQueryVariables = Exact<{
|
|
18697
18778
|
status: MovieStatus;
|
|
18698
18779
|
orderField: MovieOrderField;
|