@20minutes/tyr 0.1.87 → 0.1.89

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.
Files changed (33) hide show
  1. package/dist/css/articlePage-desktop-critical.css +1 -1
  2. package/dist/css/articlePage-desktop-no-critical.css +1 -1
  3. package/dist/css/articlePage-mobile-critical.css +1 -1
  4. package/dist/css/articlePage-mobile-no-critical.css +1 -1
  5. package/dist/css/errorPage-desktop-critical.css +1 -1
  6. package/dist/css/errorPage-desktop-no-critical.css +1 -1
  7. package/dist/css/errorPage-mobile-critical.css +1 -1
  8. package/dist/css/errorPage-mobile-no-critical.css +1 -1
  9. package/dist/css/global.css +1 -1
  10. package/dist/css/horoscopePage-desktop-critical.css +1 -1
  11. package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
  12. package/dist/css/horoscopePage-mobile-critical.css +1 -1
  13. package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
  14. package/dist/css/horoscopehomePage-desktop-critical.css +1 -1
  15. package/dist/css/horoscopehomePage-desktop-no-critical.css +1 -1
  16. package/dist/css/horoscopehomePage-mobile-critical.css +1 -1
  17. package/dist/css/horoscopehomePage-mobile-no-critical.css +1 -1
  18. package/dist/css/searchPage-desktop-critical.css +1 -1
  19. package/dist/css/searchPage-desktop-no-critical.css +1 -1
  20. package/dist/css/searchPage-mobile-critical.css +1 -1
  21. package/dist/css/searchPage-mobile-no-critical.css +1 -1
  22. package/dist/css/tagPage-desktop-critical.css +1 -1
  23. package/dist/css/tagPage-desktop-no-critical.css +1 -1
  24. package/dist/css/tagPage-mobile-critical.css +1 -1
  25. package/dist/css/tagPage-mobile-no-critical.css +1 -1
  26. package/dist/index.es.js +46047 -45764
  27. package/dist/index.umd.js +162 -154
  28. package/dist/js/ads.min.js +1 -1
  29. package/dist/js/awsRum.min.js +4 -4
  30. package/dist/js/main.min.js +37 -37
  31. package/dist/managers/helpers/AdsManager.d.ts +2 -1
  32. package/dist/types/graphql.d.ts +250 -16
  33. package/package.json +11 -8
@@ -1,2 +1,3 @@
1
1
  import React from 'react';
2
- export declare const insertInread: (content: React.ReactElement, adUnitCompletePath: string) => string;
2
+ export declare const insertInreadDesktop: (content: React.ReactElement) => string;
3
+ export declare const insertInreadMobile: (content: React.ReactElement) => string;
@@ -147,6 +147,7 @@ export type TArticle = TCounting & TCrawlable & TLockable & TNode & TProofreadab
147
147
  template?: Maybe<ArticleTemplate>;
148
148
  text_url?: Maybe<Scalars['String']>;
149
149
  title?: Maybe<Scalars['String']>;
150
+ total_current_visits?: Maybe<Scalars['Int']>;
150
151
  url_canonical?: Maybe<Scalars['String']>;
151
152
  url_current?: Maybe<Scalars['String']>;
152
153
  url_social?: Maybe<Scalars['String']>;
@@ -959,6 +960,8 @@ export type TBrand = {
959
960
  publishings?: Maybe<TPublishingListConnection>;
960
961
  push?: Maybe<TPushSingleConnection>;
961
962
  pushs?: Maybe<TPushListConnection>;
963
+ redirect?: Maybe<TRedirectSingleConnection>;
964
+ redirects?: Maybe<TRedirectListConnection>;
962
965
  service?: Maybe<TServiceSingleConnection>;
963
966
  services?: Maybe<TServiceListConnection>;
964
967
  stories?: Maybe<TStoryListConnection>;
@@ -1187,6 +1190,20 @@ export type TBrandPushsArgs = {
1187
1190
  orderBy?: InputMaybe<TPushOrder>;
1188
1191
  pagination?: InputMaybe<TPagination>;
1189
1192
  };
1193
+ export type TBrandRedirectArgs = {
1194
+ legacy_id?: InputMaybe<Scalars['Int']>;
1195
+ options?: InputMaybe<TRedirectSingleConnectionOptions>;
1196
+ redirect_id?: InputMaybe<Scalars['ID']>;
1197
+ slug?: InputMaybe<Scalars['String']>;
1198
+ };
1199
+ export type TBrandRedirectsArgs = {
1200
+ after?: InputMaybe<Scalars['String']>;
1201
+ filter?: InputMaybe<TRedirectFilter>;
1202
+ first?: InputMaybe<Scalars['FirstElement']>;
1203
+ options?: InputMaybe<TRedirectListConnectionOptions>;
1204
+ orderBy?: InputMaybe<TRedirectOrder>;
1205
+ pagination?: InputMaybe<TPagination>;
1206
+ };
1190
1207
  export type TBrandServiceArgs = {
1191
1208
  service_id?: InputMaybe<Scalars['ID']>;
1192
1209
  slug?: InputMaybe<Scalars['String']>;
@@ -1671,6 +1688,7 @@ export type TCounting = {
1671
1688
  comments_count?: Maybe<Scalars['Int']>;
1672
1689
  facebook_count?: Maybe<Scalars['Int']>;
1673
1690
  pinterest_count?: Maybe<Scalars['Int']>;
1691
+ total_current_visits?: Maybe<Scalars['Int']>;
1674
1692
  visit_counters?: Maybe<TVisitsOptions>;
1675
1693
  };
1676
1694
  export type TCrawlOptions = {
@@ -1739,6 +1757,7 @@ export type TCreateArticleFromSynchroType = {
1739
1757
  template?: InputMaybe<ArticleTemplate>;
1740
1758
  text_url?: InputMaybe<Scalars['String']>;
1741
1759
  title?: InputMaybe<Scalars['String']>;
1760
+ total_current_visits?: InputMaybe<Scalars['Int']>;
1742
1761
  url_canonical?: InputMaybe<Scalars['String']>;
1743
1762
  url_current?: InputMaybe<Scalars['String']>;
1744
1763
  url_social?: InputMaybe<Scalars['String']>;
@@ -1790,6 +1809,7 @@ export type TCreateArticleType = {
1790
1809
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
1791
1810
  template?: InputMaybe<ArticleTemplate>;
1792
1811
  title?: InputMaybe<Scalars['String']>;
1812
+ total_current_visits?: InputMaybe<Scalars['Int']>;
1793
1813
  url_canonical?: InputMaybe<Scalars['String']>;
1794
1814
  url_current?: InputMaybe<Scalars['String']>;
1795
1815
  url_social?: InputMaybe<Scalars['String']>;
@@ -2066,6 +2086,7 @@ export type TCreateLiveFromSynchroType = {
2066
2086
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
2067
2087
  text_url?: InputMaybe<Scalars['String']>;
2068
2088
  title?: InputMaybe<Scalars['String']>;
2089
+ total_current_visits?: InputMaybe<Scalars['Int']>;
2069
2090
  url_canonical?: InputMaybe<Scalars['String']>;
2070
2091
  url_current?: InputMaybe<Scalars['String']>;
2071
2092
  url_social?: InputMaybe<Scalars['String']>;
@@ -2142,6 +2163,7 @@ export type TCreateLiveType = {
2142
2163
  summary?: InputMaybe<Scalars['JSONObject']>;
2143
2164
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
2144
2165
  title?: InputMaybe<Scalars['String']>;
2166
+ total_current_visits?: InputMaybe<Scalars['Int']>;
2145
2167
  url_canonical?: InputMaybe<Scalars['String']>;
2146
2168
  url_current?: InputMaybe<Scalars['String']>;
2147
2169
  url_social?: InputMaybe<Scalars['String']>;
@@ -2226,6 +2248,7 @@ export type TCreateNewsDispatchType = {
2226
2248
  external_id?: InputMaybe<Scalars['String']>;
2227
2249
  external_tags?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
2228
2250
  images?: InputMaybe<Array<InputMaybe<TImageInput>>>;
2251
+ lead?: InputMaybe<Scalars['String']>;
2229
2252
  location?: InputMaybe<TLocationInput>;
2230
2253
  original_datetime?: InputMaybe<Scalars['DateTime']>;
2231
2254
  provider?: InputMaybe<Scalars['String']>;
@@ -2382,6 +2405,15 @@ export type TCreateReactionType = {
2382
2405
  databaseId?: InputMaybe<Scalars['UUID']>;
2383
2406
  user_front_id: Scalars['ID'];
2384
2407
  };
2408
+ export type TCreateRedirectInputType = {
2409
+ brand_id: Scalars['ID'];
2410
+ clientMutationId?: InputMaybe<Scalars['String']>;
2411
+ databaseId?: InputMaybe<Scalars['UUID']>;
2412
+ http_status?: InputMaybe<RedirectHttpStatusType>;
2413
+ url_destination?: InputMaybe<Scalars['String']>;
2414
+ url_redirected: Scalars['String'];
2415
+ user_back_id?: InputMaybe<Scalars['ID']>;
2416
+ };
2385
2417
  export type TCreateSearchBackType = {
2386
2418
  clientMutationId?: InputMaybe<Scalars['String']>;
2387
2419
  databaseId?: InputMaybe<Scalars['UUID']>;
@@ -2478,6 +2510,7 @@ export type TCreateStoryType = {
2478
2510
  storyPages?: InputMaybe<Array<InputMaybe<TUpdateStoryPageType>>>;
2479
2511
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
2480
2512
  title?: InputMaybe<Scalars['String']>;
2513
+ total_current_visits?: InputMaybe<Scalars['Int']>;
2481
2514
  type?: InputMaybe<Story>;
2482
2515
  url_all_canonical?: InputMaybe<Scalars['String']>;
2483
2516
  url_canonical?: InputMaybe<Scalars['String']>;
@@ -4065,6 +4098,7 @@ export type TLive = TCounting & TCrawlable & TLockable & TNode & TPublishable &
4065
4098
  tags?: Maybe<TLiveTagsListConnection>;
4066
4099
  text_url?: Maybe<Scalars['String']>;
4067
4100
  title?: Maybe<Scalars['String']>;
4101
+ total_current_visits?: Maybe<Scalars['Int']>;
4068
4102
  url_canonical?: Maybe<Scalars['String']>;
4069
4103
  url_current?: Maybe<Scalars['String']>;
4070
4104
  url_social?: Maybe<Scalars['String']>;
@@ -5134,6 +5168,7 @@ export type TMutation = {
5134
5168
  createPublishing?: Maybe<TPublishingPayload>;
5135
5169
  createPush?: Maybe<TPushPayload>;
5136
5170
  createReaction?: Maybe<TReactionPayload>;
5171
+ createRedirect?: Maybe<TRedirectPayload>;
5137
5172
  createSearchBack?: Maybe<TSearchBackPayload>;
5138
5173
  createService?: Maybe<TServicePayload>;
5139
5174
  createSign?: Maybe<TSignPayload>;
@@ -5180,6 +5215,7 @@ export type TMutation = {
5180
5215
  deletePublishing?: Maybe<TPublishingPayload>;
5181
5216
  deletePush?: Maybe<TPushPayload>;
5182
5217
  deleteReaction?: Maybe<TReactionPayload>;
5218
+ deleteRedirect?: Maybe<TRedirectPayload>;
5183
5219
  deleteSearchBack?: Maybe<TSearchBackPayload>;
5184
5220
  deleteService?: Maybe<TServicePayload>;
5185
5221
  deleteSign?: Maybe<TSignPayload>;
@@ -5206,6 +5242,7 @@ export type TMutation = {
5206
5242
  modifyUserBotMessengerFields?: Maybe<TUserBotPayload>;
5207
5243
  notifyMisspellingUserFront?: Maybe<TUserFrontIdPayload>;
5208
5244
  paymentConfirmationUserFront?: Maybe<TUserFrontIdPayload>;
5245
+ refreshCookieUserBack?: Maybe<TUserBackPayload>;
5209
5246
  refuseBookReviewSubscriptionUserFront?: Maybe<TUserFrontPayload>;
5210
5247
  regenerateSessionIdUserFront?: Maybe<TUserFrontIdPayload>;
5211
5248
  removeAvatarUserFront?: Maybe<TUserFrontIdPayload>;
@@ -5253,6 +5290,7 @@ export type TMutation = {
5253
5290
  undeletePlatform?: Maybe<TPlatformPayload>;
5254
5291
  undeletePublishing?: Maybe<TPublishingPayload>;
5255
5292
  undeletePush?: Maybe<TPushPayload>;
5293
+ undeleteRedirect?: Maybe<TRedirectPayload>;
5256
5294
  undeleteService?: Maybe<TServicePayload>;
5257
5295
  undeleteSign?: Maybe<TSignPayload>;
5258
5296
  undeleteSignature?: Maybe<TSignaturePayload>;
@@ -5312,6 +5350,7 @@ export type TMutation = {
5312
5350
  updatePlatformMenus?: Maybe<TPlatformPayload>;
5313
5351
  updatePublishing?: Maybe<TPublishingPayload>;
5314
5352
  updatePush?: Maybe<TPushPayload>;
5353
+ updateRedirect?: Maybe<TRedirectPayload>;
5315
5354
  updateSearchBack?: Maybe<TSearchBackPayload>;
5316
5355
  updateService?: Maybe<TServicePayload>;
5317
5356
  updateSign?: Maybe<TSignPayload>;
@@ -5549,6 +5588,10 @@ export type TMutationCreateReactionArgs = {
5549
5588
  input?: InputMaybe<TCreateReactionType>;
5550
5589
  options?: InputMaybe<TOptionsCreateReactionType>;
5551
5590
  };
5591
+ export type TMutationCreateRedirectArgs = {
5592
+ input?: InputMaybe<TCreateRedirectInputType>;
5593
+ options?: InputMaybe<TOptionsCreateRedirectType>;
5594
+ };
5552
5595
  export type TMutationCreateSearchBackArgs = {
5553
5596
  input?: InputMaybe<TCreateSearchBackType>;
5554
5597
  options?: InputMaybe<TOptionsCreateSearchBackType>;
@@ -5700,6 +5743,9 @@ export type TMutationDeletePushArgs = {
5700
5743
  export type TMutationDeleteReactionArgs = {
5701
5744
  input?: InputMaybe<TGlobalIdInputType>;
5702
5745
  };
5746
+ export type TMutationDeleteRedirectArgs = {
5747
+ input?: InputMaybe<TRedirectIdentifierInputType>;
5748
+ };
5703
5749
  export type TMutationDeleteSearchBackArgs = {
5704
5750
  input?: InputMaybe<TSearchBacktIdentifierInputType>;
5705
5751
  };
@@ -5778,6 +5824,9 @@ export type TMutationNotifyMisspellingUserFrontArgs = {
5778
5824
  export type TMutationPaymentConfirmationUserFrontArgs = {
5779
5825
  input?: InputMaybe<TPaymentConfirmationUserFrontType>;
5780
5826
  };
5827
+ export type TMutationRefreshCookieUserBackArgs = {
5828
+ input?: InputMaybe<TUserBackIdentifierInputType>;
5829
+ };
5781
5830
  export type TMutationRefuseBookReviewSubscriptionUserFrontArgs = {
5782
5831
  input?: InputMaybe<TRefuseBookReviewSubscriptionUserFrontType>;
5783
5832
  };
@@ -5919,6 +5968,9 @@ export type TMutationUndeletePublishingArgs = {
5919
5968
  export type TMutationUndeletePushArgs = {
5920
5969
  input?: InputMaybe<TPushtIdentifierInputType>;
5921
5970
  };
5971
+ export type TMutationUndeleteRedirectArgs = {
5972
+ input?: InputMaybe<TRedirectIdentifierInputType>;
5973
+ };
5922
5974
  export type TMutationUndeleteServiceArgs = {
5923
5975
  input?: InputMaybe<TServiceIdentifierInputType>;
5924
5976
  };
@@ -6144,6 +6196,10 @@ export type TMutationUpdatePushArgs = {
6144
6196
  input?: InputMaybe<TUpdatePushType>;
6145
6197
  options?: InputMaybe<TOptionsUpdatePushType>;
6146
6198
  };
6199
+ export type TMutationUpdateRedirectArgs = {
6200
+ input?: InputMaybe<TUpdateRedirectInputType>;
6201
+ options?: InputMaybe<TOptionsUpdateRedirectType>;
6202
+ };
6147
6203
  export type TMutationUpdateSearchBackArgs = {
6148
6204
  input?: InputMaybe<TUpdateSearchBackType>;
6149
6205
  options?: InputMaybe<TOptionsUpdateSearchBackType>;
@@ -6238,6 +6294,7 @@ export type TNewsDispatch = TNode & {
6238
6294
  external_tags?: Maybe<Array<Maybe<Scalars['String']>>>;
6239
6295
  id: Scalars['ID'];
6240
6296
  images?: Maybe<Array<Maybe<TImage>>>;
6297
+ lead?: Maybe<Scalars['String']>;
6241
6298
  location?: Maybe<TLocation>;
6242
6299
  original_datetime?: Maybe<Scalars['DateTime']>;
6243
6300
  provider?: Maybe<Scalars['String']>;
@@ -6682,6 +6739,9 @@ export type TOptionsCreatePushType = {
6682
6739
  export type TOptionsCreateReactionType = {
6683
6740
  clientMutationId?: InputMaybe<Scalars['String']>;
6684
6741
  };
6742
+ export type TOptionsCreateRedirectType = {
6743
+ clientMutationId?: InputMaybe<Scalars['String']>;
6744
+ };
6685
6745
  export type TOptionsCreateSearchBackType = {
6686
6746
  clientMutationId?: InputMaybe<Scalars['String']>;
6687
6747
  };
@@ -6887,6 +6947,10 @@ export type TOptionsUpdatePushType = {
6887
6947
  export type TOptionsUpdateQualifioUserFrontIdType = {
6888
6948
  clientMutationId?: InputMaybe<Scalars['String']>;
6889
6949
  };
6950
+ export type TOptionsUpdateRedirectType = {
6951
+ clientMutationId?: InputMaybe<Scalars['String']>;
6952
+ skip_edited_at?: InputMaybe<Scalars['Boolean']>;
6953
+ };
6890
6954
  export type TOptionsUpdateSearchBackType = {
6891
6955
  clientMutationId?: InputMaybe<Scalars['String']>;
6892
6956
  };
@@ -7393,6 +7457,7 @@ export type TPixPalacePhotoEdge = {
7393
7457
  };
7394
7458
  export type TPixPalacePhotoFilter = {
7395
7459
  keywords?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
7460
+ provider?: InputMaybe<PixPalacePhotoProviderField>;
7396
7461
  };
7397
7462
  export type TPixPalacePhotoListConnection = {
7398
7463
  __typename?: 'PixPalacePhotoListConnection';
@@ -7406,6 +7471,11 @@ export type TPixPalacePhotoOrderField = {
7406
7471
  per_page?: InputMaybe<Scalars['perPage']>;
7407
7472
  sort_by?: InputMaybe<PixPalacePhotoSortField>;
7408
7473
  };
7474
+ export declare enum PixPalacePhotoProviderField {
7475
+ AFP = "AFP",
7476
+ SIPA_AP = "SIPA_AP",
7477
+ SIPA_PRESS = "SIPA_PRESS"
7478
+ }
7409
7479
  export declare enum PixPalacePhotoSortField {
7410
7480
  ASC_CREATED = "ASC_CREATED",
7411
7481
  ASC_DATE = "ASC_DATE",
@@ -7846,6 +7916,7 @@ export type TPublishableContent = TCounting & TNode & TProofreadable & TPublisha
7846
7916
  template?: Maybe<ArticleTemplate>;
7847
7917
  text_url?: Maybe<Scalars['String']>;
7848
7918
  title?: Maybe<Scalars['String']>;
7919
+ total_current_visits?: Maybe<Scalars['Int']>;
7849
7920
  type?: Maybe<Story>;
7850
7921
  url_all_canonical?: Maybe<Scalars['String']>;
7851
7922
  url_canonical?: Maybe<Scalars['String']>;
@@ -8014,6 +8085,7 @@ export type TPublishableContentFilter = {
8014
8085
  tag_ids?: InputMaybe<TPublishableContentTagIdsFilter>;
8015
8086
  text_url?: InputMaybe<TPublishableContentTextUrlFilter>;
8016
8087
  title?: InputMaybe<TPublishableContentTitleFilter>;
8088
+ total_current_visits?: InputMaybe<TTotalCurrentVisitsFilter>;
8017
8089
  user_back_id?: InputMaybe<TPublishableContentUserBackIdFilter>;
8018
8090
  };
8019
8091
  export type TPublishableContentInputSearch = {
@@ -8068,6 +8140,7 @@ export declare enum PublishableContentOrderField {
8068
8140
  PUBLISHED_AT = "PUBLISHED_AT",
8069
8141
  RELEVANCE = "RELEVANCE",
8070
8142
  SCHEDULED_AT = "SCHEDULED_AT",
8143
+ TOTAL_CURRENT_VISITS = "TOTAL_CURRENT_VISITS",
8071
8144
  TOTAL_VISIT_COUNT = "TOTAL_VISIT_COUNT"
8072
8145
  }
8073
8146
  export type TPublishableContentRubricIdFilter = {
@@ -8946,6 +9019,151 @@ export type TReactionPayload = {
8946
9019
  reaction?: Maybe<TReaction>;
8947
9020
  resolveInfo?: Maybe<TResolveInfo>;
8948
9021
  };
9022
+ export type TRedirect = TNode & TTimestampable & {
9023
+ __typename?: 'Redirect';
9024
+ brand_id: Scalars['ID'];
9025
+ created_at?: Maybe<Scalars['DateTime']>;
9026
+ deleted_at?: Maybe<Scalars['DateTime']>;
9027
+ edited_at?: Maybe<Scalars['DateTime']>;
9028
+ http_status?: Maybe<RedirectHttpStatusType>;
9029
+ id: Scalars['ID'];
9030
+ url_destination?: Maybe<Scalars['String']>;
9031
+ url_redirected?: Maybe<Scalars['String']>;
9032
+ userBack?: Maybe<TUserBackSingleConnection>;
9033
+ user_back_id?: Maybe<Scalars['ID']>;
9034
+ };
9035
+ export type TRedirectCreatedAtFilter = {
9036
+ eq?: InputMaybe<Scalars['DateTime']>;
9037
+ gt?: InputMaybe<Scalars['DateTime']>;
9038
+ gte?: InputMaybe<Scalars['DateTime']>;
9039
+ ilike?: InputMaybe<Scalars['DateTime']>;
9040
+ in?: InputMaybe<Array<InputMaybe<Scalars['DateTime']>>>;
9041
+ like?: InputMaybe<Scalars['DateTime']>;
9042
+ lt?: InputMaybe<Scalars['DateTime']>;
9043
+ lte?: InputMaybe<Scalars['DateTime']>;
9044
+ ne?: InputMaybe<Scalars['DateTime']>;
9045
+ nilike?: InputMaybe<Scalars['DateTime']>;
9046
+ nin?: InputMaybe<Array<InputMaybe<Scalars['DateTime']>>>;
9047
+ nlike?: InputMaybe<Scalars['DateTime']>;
9048
+ nre?: InputMaybe<Scalars['DateTime']>;
9049
+ re?: InputMaybe<Scalars['DateTime']>;
9050
+ };
9051
+ export type TRedirectEdge = {
9052
+ __typename?: 'RedirectEdge';
9053
+ cursor: Scalars['String'];
9054
+ node?: Maybe<TRedirect>;
9055
+ };
9056
+ export type TRedirectFilter = {
9057
+ created_at?: InputMaybe<TRedirectCreatedAtFilter>;
9058
+ http_status?: InputMaybe<TRedirectHttpStatusFilter>;
9059
+ redirect_id?: InputMaybe<TRedirectIdFilter>;
9060
+ user_back_id?: InputMaybe<TRedirectUserBackIdFilter>;
9061
+ };
9062
+ export type TRedirectHttpStatusFilter = {
9063
+ eq?: InputMaybe<RedirectHttpStatusType>;
9064
+ gt?: InputMaybe<RedirectHttpStatusType>;
9065
+ gte?: InputMaybe<RedirectHttpStatusType>;
9066
+ ilike?: InputMaybe<RedirectHttpStatusType>;
9067
+ in?: InputMaybe<Array<InputMaybe<RedirectHttpStatusType>>>;
9068
+ like?: InputMaybe<RedirectHttpStatusType>;
9069
+ lt?: InputMaybe<RedirectHttpStatusType>;
9070
+ lte?: InputMaybe<RedirectHttpStatusType>;
9071
+ ne?: InputMaybe<RedirectHttpStatusType>;
9072
+ nilike?: InputMaybe<RedirectHttpStatusType>;
9073
+ nin?: InputMaybe<Array<InputMaybe<RedirectHttpStatusType>>>;
9074
+ nlike?: InputMaybe<RedirectHttpStatusType>;
9075
+ nre?: InputMaybe<RedirectHttpStatusType>;
9076
+ re?: InputMaybe<RedirectHttpStatusType>;
9077
+ };
9078
+ export declare enum RedirectHttpStatusType {
9079
+ GONE = "GONE",
9080
+ PERMANENT = "PERMANENT",
9081
+ TEMPORARY = "TEMPORARY"
9082
+ }
9083
+ export type TRedirectIdFilter = {
9084
+ eq?: InputMaybe<Scalars['String']>;
9085
+ gt?: InputMaybe<Scalars['String']>;
9086
+ gte?: InputMaybe<Scalars['String']>;
9087
+ ilike?: InputMaybe<Scalars['String']>;
9088
+ in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
9089
+ like?: InputMaybe<Scalars['String']>;
9090
+ lt?: InputMaybe<Scalars['String']>;
9091
+ lte?: InputMaybe<Scalars['String']>;
9092
+ ne?: InputMaybe<Scalars['String']>;
9093
+ nilike?: InputMaybe<Scalars['String']>;
9094
+ nin?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
9095
+ nlike?: InputMaybe<Scalars['String']>;
9096
+ nre?: InputMaybe<Scalars['String']>;
9097
+ re?: InputMaybe<Scalars['String']>;
9098
+ };
9099
+ export type TRedirectIdentifierInputType = {
9100
+ brand_id: Scalars['ID'];
9101
+ clientMutationId?: InputMaybe<Scalars['String']>;
9102
+ id: Scalars['ID'];
9103
+ };
9104
+ export type TRedirectListConnection = {
9105
+ __typename?: 'RedirectListConnection';
9106
+ edges?: Maybe<Array<Maybe<TRedirectEdge>>>;
9107
+ pageInfo: TPageInfo;
9108
+ resolveInfo?: Maybe<TResolveInfo>;
9109
+ totalCount?: Maybe<Scalars['Int']>;
9110
+ };
9111
+ export declare enum RedirectListConnectionMode {
9112
+ TRUTH = "TRUTH"
9113
+ }
9114
+ export type TRedirectListConnectionOptions = {
9115
+ mode?: InputMaybe<RedirectListConnectionMode>;
9116
+ total?: InputMaybe<RedirectListConnectionTotal>;
9117
+ };
9118
+ export declare enum RedirectListConnectionTotal {
9119
+ TRUTH = "TRUTH"
9120
+ }
9121
+ export type TRedirectOrder = {
9122
+ direction?: InputMaybe<OrderDirection>;
9123
+ field?: InputMaybe<RedirectOrderField>;
9124
+ };
9125
+ export declare enum RedirectOrderField {
9126
+ CREATED_AT = "CREATED_AT",
9127
+ EDITED_AT = "EDITED_AT",
9128
+ HTTP_STATUS = "HTTP_STATUS"
9129
+ }
9130
+ export type TRedirectPayload = {
9131
+ __typename?: 'RedirectPayload';
9132
+ clientMutationId?: Maybe<Scalars['String']>;
9133
+ redirect?: Maybe<TRedirect>;
9134
+ resolveInfo?: Maybe<TResolveInfo>;
9135
+ };
9136
+ export type TRedirectSingleConnection = {
9137
+ __typename?: 'RedirectSingleConnection';
9138
+ node?: Maybe<TRedirect>;
9139
+ resolveInfo?: Maybe<TResolveInfo>;
9140
+ };
9141
+ export declare enum RedirectSingleConnectionMode {
9142
+ TRUTH = "TRUTH"
9143
+ }
9144
+ export type TRedirectSingleConnectionOptions = {
9145
+ mode?: InputMaybe<RedirectSingleConnectionMode>;
9146
+ total?: InputMaybe<RedirectSingleConnectionTotal>;
9147
+ };
9148
+ export declare enum RedirectSingleConnectionTotal {
9149
+ TRUTH = "TRUTH"
9150
+ }
9151
+ export type TRedirectUserBackIdFilter = {
9152
+ eq?: InputMaybe<Scalars['ID']>;
9153
+ gt?: InputMaybe<Scalars['ID']>;
9154
+ gte?: InputMaybe<Scalars['ID']>;
9155
+ ilike?: InputMaybe<Scalars['ID']>;
9156
+ in?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
9157
+ like?: InputMaybe<Scalars['ID']>;
9158
+ lt?: InputMaybe<Scalars['ID']>;
9159
+ lte?: InputMaybe<Scalars['ID']>;
9160
+ ne?: InputMaybe<Scalars['ID']>;
9161
+ nilike?: InputMaybe<Scalars['ID']>;
9162
+ nin?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
9163
+ nlike?: InputMaybe<Scalars['ID']>;
9164
+ nre?: InputMaybe<Scalars['ID']>;
9165
+ re?: InputMaybe<Scalars['ID']>;
9166
+ };
8949
9167
  export type TResetPasswordUserFrontType = {
8950
9168
  brand_id: Scalars['ID'];
8951
9169
  clientMutationId?: InputMaybe<Scalars['String']>;
@@ -9415,6 +9633,7 @@ export type TStory = TCounting & TCrawlable & TLockable & TNode & TProofreadable
9415
9633
  tags?: Maybe<TStoryTagsListConnection>;
9416
9634
  text_url?: Maybe<Scalars['String']>;
9417
9635
  title?: Maybe<Scalars['String']>;
9636
+ total_current_visits?: Maybe<Scalars['Int']>;
9418
9637
  type?: Maybe<Story>;
9419
9638
  url_all_canonical?: Maybe<Scalars['String']>;
9420
9639
  url_canonical?: Maybe<Scalars['String']>;
@@ -10399,6 +10618,22 @@ export type TTimestampable = {
10399
10618
  deleted_at?: Maybe<Scalars['DateTime']>;
10400
10619
  edited_at?: Maybe<Scalars['DateTime']>;
10401
10620
  };
10621
+ export type TTotalCurrentVisitsFilter = {
10622
+ eq?: InputMaybe<Scalars['Int']>;
10623
+ gt?: InputMaybe<Scalars['Int']>;
10624
+ gte?: InputMaybe<Scalars['Int']>;
10625
+ ilike?: InputMaybe<Scalars['Int']>;
10626
+ in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
10627
+ like?: InputMaybe<Scalars['Int']>;
10628
+ lt?: InputMaybe<Scalars['Int']>;
10629
+ lte?: InputMaybe<Scalars['Int']>;
10630
+ ne?: InputMaybe<Scalars['Int']>;
10631
+ nilike?: InputMaybe<Scalars['Int']>;
10632
+ nin?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
10633
+ nlike?: InputMaybe<Scalars['Int']>;
10634
+ nre?: InputMaybe<Scalars['Int']>;
10635
+ re?: InputMaybe<Scalars['Int']>;
10636
+ };
10402
10637
  export type TUpdateAdUnitType = {
10403
10638
  clientMutationId?: InputMaybe<Scalars['String']>;
10404
10639
  id: Scalars['String'];
@@ -10450,6 +10685,7 @@ export type TUpdateArticleFromSynchroType = {
10450
10685
  template?: InputMaybe<ArticleTemplate>;
10451
10686
  text_url?: InputMaybe<Scalars['String']>;
10452
10687
  title?: InputMaybe<Scalars['String']>;
10688
+ total_current_visits?: InputMaybe<Scalars['Int']>;
10453
10689
  url_canonical?: InputMaybe<Scalars['String']>;
10454
10690
  url_current?: InputMaybe<Scalars['String']>;
10455
10691
  url_social?: InputMaybe<Scalars['String']>;
@@ -10500,6 +10736,7 @@ export type TUpdateArticleType = {
10500
10736
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10501
10737
  template?: InputMaybe<ArticleTemplate>;
10502
10738
  title?: InputMaybe<Scalars['String']>;
10739
+ total_current_visits?: InputMaybe<Scalars['Int']>;
10503
10740
  url_canonical?: InputMaybe<Scalars['String']>;
10504
10741
  url_current?: InputMaybe<Scalars['String']>;
10505
10742
  url_social?: InputMaybe<Scalars['String']>;
@@ -10765,6 +11002,7 @@ export type TUpdateLiveFromSynchroType = {
10765
11002
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10766
11003
  text_url?: InputMaybe<Scalars['String']>;
10767
11004
  title?: InputMaybe<Scalars['String']>;
11005
+ total_current_visits?: InputMaybe<Scalars['Int']>;
10768
11006
  url_canonical?: InputMaybe<Scalars['String']>;
10769
11007
  url_current?: InputMaybe<Scalars['String']>;
10770
11008
  url_social?: InputMaybe<Scalars['String']>;
@@ -10840,6 +11078,7 @@ export type TUpdateLiveType = {
10840
11078
  summary?: InputMaybe<Scalars['JSONObject']>;
10841
11079
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10842
11080
  title?: InputMaybe<Scalars['String']>;
11081
+ total_current_visits?: InputMaybe<Scalars['Int']>;
10843
11082
  url_canonical?: InputMaybe<Scalars['String']>;
10844
11083
  url_current?: InputMaybe<Scalars['String']>;
10845
11084
  url_social?: InputMaybe<Scalars['String']>;
@@ -10922,6 +11161,7 @@ export type TUpdateNewsDispatchType = {
10922
11161
  external_tags?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
10923
11162
  id: Scalars['ID'];
10924
11163
  images?: InputMaybe<Array<InputMaybe<TImageInput>>>;
11164
+ lead?: InputMaybe<Scalars['String']>;
10925
11165
  location?: InputMaybe<TLocationInput>;
10926
11166
  original_datetime?: InputMaybe<Scalars['DateTime']>;
10927
11167
  provider?: InputMaybe<Scalars['String']>;
@@ -11069,6 +11309,15 @@ export type TUpdatePushType = {
11069
11309
  url?: InputMaybe<Scalars['String']>;
11070
11310
  user_back_id?: InputMaybe<Scalars['ID']>;
11071
11311
  };
11312
+ export type TUpdateRedirectInputType = {
11313
+ brand_id: Scalars['ID'];
11314
+ clientMutationId?: InputMaybe<Scalars['String']>;
11315
+ http_status?: InputMaybe<RedirectHttpStatusType>;
11316
+ id: Scalars['ID'];
11317
+ url_destination?: InputMaybe<Scalars['String']>;
11318
+ url_redirected?: InputMaybe<Scalars['String']>;
11319
+ user_back_id?: InputMaybe<Scalars['ID']>;
11320
+ };
11072
11321
  export type TUpdateSearchBackType = {
11073
11322
  clientMutationId?: InputMaybe<Scalars['String']>;
11074
11323
  filters_text?: InputMaybe<Scalars['String']>;
@@ -11151,6 +11400,7 @@ export type TUpdateStoryType = {
11151
11400
  storyPages?: InputMaybe<Array<InputMaybe<TUpdateStoryPageType>>>;
11152
11401
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
11153
11402
  title?: InputMaybe<Scalars['String']>;
11403
+ total_current_visits?: InputMaybe<Scalars['Int']>;
11154
11404
  type?: InputMaybe<Story>;
11155
11405
  url_all_canonical?: InputMaybe<Scalars['String']>;
11156
11406
  url_canonical?: InputMaybe<Scalars['String']>;
@@ -13320,22 +13570,6 @@ export type TGetTagArticlesQuery = {
13320
13570
  facebook_count?: number | null;
13321
13571
  pinterest_count?: number | null;
13322
13572
  url?: string | null;
13323
- signature_inline?: {
13324
- __typename?: 'signatureInline';
13325
- custom_text?: string | null;
13326
- userBacks?: {
13327
- __typename?: 'UserBackListConnection';
13328
- edges?: Array<{
13329
- __typename?: 'UserBackEdge';
13330
- node?: {
13331
- __typename?: 'UserBack';
13332
- firstname?: string | null;
13333
- lastname?: string | null;
13334
- avatar?: string | null;
13335
- } | null;
13336
- } | null> | null;
13337
- } | null;
13338
- } | null;
13339
13573
  rubric?: {
13340
13574
  __typename?: 'TagSingleConnection';
13341
13575
  node?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@20minutes/tyr",
3
- "version": "0.1.87",
3
+ "version": "0.1.89",
4
4
  "repository": "git@github.com:20minutes/tyr.git",
5
5
  "license": "MIT",
6
6
  "author": "20 Minutes",
@@ -44,7 +44,7 @@
44
44
  "node": ">=16"
45
45
  },
46
46
  "dependencies": {
47
- "@20minutes/hela": "^0.1.80",
47
+ "@20minutes/hela": "^0.1.82",
48
48
  "aws-rum-web": "^1.13.6",
49
49
  "html-entities": "^2.3.3",
50
50
  "node-html-parser": "^6.1.5",
@@ -53,10 +53,12 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@20minutes/eslint-config": "^1.2.4",
56
+ "@aws-sdk/client-s3": "3.303.0",
56
57
  "@babel/core": "^7.21.3",
57
58
  "@graphql-codegen/cli": "^3.2.2",
58
59
  "@graphql-codegen/typescript": "^3.0.2",
59
60
  "@graphql-codegen/typescript-operations": "^3.0.2",
61
+ "@octokit/core": "4.2.0",
60
62
  "@rollup/plugin-commonjs": "^24.0.1",
61
63
  "@rollup/plugin-node-resolve": "^15.0.1",
62
64
  "@rollup/plugin-replace": "^5.0.2",
@@ -69,16 +71,16 @@
69
71
  "@storybook/testing-library": "0.0.13",
70
72
  "@types/googletag": "^3.0.3",
71
73
  "@types/jest": "^29.5.0",
72
- "@types/react": "^18.0.28",
74
+ "@types/react": "^18.0.31",
73
75
  "@types/react-dom": "^18.0.11",
74
- "@typescript-eslint/eslint-plugin": "^5.56.0",
75
- "@typescript-eslint/parser": "^5.56.0",
76
+ "@typescript-eslint/eslint-plugin": "^5.57.0",
77
+ "@typescript-eslint/parser": "^5.57.0",
76
78
  "@vitejs/plugin-react": "^3.1.0",
77
79
  "babel-loader": "^9.1.2",
78
- "eslint": "^8.36.0",
80
+ "eslint": "^8.37.0",
79
81
  "eslint-config-airbnb": "^19.0.4",
80
82
  "eslint-config-prettier": "^8.8.0",
81
- "eslint-import-resolver-typescript": "^3.5.3",
83
+ "eslint-import-resolver-typescript": "^3.5.4",
82
84
  "eslint-plugin-babel": "^5.3.1",
83
85
  "eslint-plugin-import": "^2.27.5",
84
86
  "eslint-plugin-jsx-a11y": "^6.7.1",
@@ -91,6 +93,7 @@
91
93
  "lint-staged": "^13.2.0",
92
94
  "prettier": "^2.8.6",
93
95
  "purgecss": "^5.0.0",
96
+ "purgecss-from-html": "^5.0.0",
94
97
  "rollup": "^3.20.0",
95
98
  "rollup-plugin-cleanup": "^3.2.1",
96
99
  "rollup-plugin-commonjs": "^10.1.0",
@@ -99,7 +102,7 @@
99
102
  "rollup-plugin-visualizer": "^5.9.0",
100
103
  "ts-jest": "^29.0.5",
101
104
  "ts-node": "^10.9.1",
102
- "tsconfig-paths": "^4.1.2",
105
+ "tsconfig-paths": "^4.2.0",
103
106
  "typescript": "^4.9.5",
104
107
  "vite": "^4.2.1",
105
108
  "vite-plugin-dts": "^2.1.0",