@20minutes/tyr 0.1.113 → 0.1.114

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 (32) 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 +2720 -2711
  27. package/dist/index.umd.js +48 -48
  28. package/dist/js/ads.min.js +2 -2
  29. package/dist/js/awsRum.min.js +4 -4
  30. package/dist/js/main.min.js +2 -2
  31. package/dist/types/graphql.d.ts +239 -13
  32. package/package.json +9 -9
@@ -390,6 +390,7 @@ export type TArticleFilter = {
390
390
  published_at?: InputMaybe<TPublishedAtFilter>;
391
391
  rubric_id?: InputMaybe<TArticleRubricIdFilter>;
392
392
  scheduled_at?: InputMaybe<TScheduledAtFilter>;
393
+ sentiment?: InputMaybe<TArticleSentimentFilter>;
393
394
  signature_inline_type?: InputMaybe<TSignatureInlineTypeFilter>;
394
395
  signature_inline_user_back_ids?: InputMaybe<TSignatureInlineUserBackIdsFilter>;
395
396
  tag_ids?: InputMaybe<TArticleTagIdsFilter>;
@@ -521,6 +522,22 @@ export type TArticleSendToFacebookNewsPayload = {
521
522
  clientMutationId?: Maybe<Scalars['String']['output']>;
522
523
  resolveInfo?: Maybe<TResolveInfo>;
523
524
  };
525
+ export type TArticleSentimentFilter = {
526
+ eq?: InputMaybe<Sentiment>;
527
+ gt?: InputMaybe<Sentiment>;
528
+ gte?: InputMaybe<Sentiment>;
529
+ ilike?: InputMaybe<Sentiment>;
530
+ in?: InputMaybe<Array<InputMaybe<Sentiment>>>;
531
+ like?: InputMaybe<Sentiment>;
532
+ lt?: InputMaybe<Sentiment>;
533
+ lte?: InputMaybe<Sentiment>;
534
+ ne?: InputMaybe<Sentiment>;
535
+ nilike?: InputMaybe<Sentiment>;
536
+ nin?: InputMaybe<Array<InputMaybe<Sentiment>>>;
537
+ nlike?: InputMaybe<Sentiment>;
538
+ nre?: InputMaybe<Sentiment>;
539
+ re?: InputMaybe<Sentiment>;
540
+ };
524
541
  export type TArticleSingleConnection = {
525
542
  __typename?: 'ArticleSingleConnection';
526
543
  node?: Maybe<TArticle>;
@@ -1080,6 +1097,8 @@ export type TBrand = {
1080
1097
  userFrontCheckUsernameEmail?: Maybe<TUserFrontCheckUsernameEmailSingleConnection>;
1081
1098
  userFrontQualifio?: Maybe<TUserFrontQualifioSingleConnection>;
1082
1099
  userFronts?: Maybe<TUserFrontListConnection>;
1100
+ video?: Maybe<TVideoSingleConnection>;
1101
+ videos?: Maybe<TVideoListConnection>;
1083
1102
  };
1084
1103
  export type TBrandArticleArgs = {
1085
1104
  article_id?: InputMaybe<Scalars['ID']['input']>;
@@ -1389,6 +1408,17 @@ export type TBrandUserFrontsArgs = {
1389
1408
  orderBy?: InputMaybe<TUserFrontOrder>;
1390
1409
  pagination?: InputMaybe<TPagination>;
1391
1410
  };
1411
+ export type TBrandVideoArgs = {
1412
+ options?: InputMaybe<TVideoSingleConnectionOptions>;
1413
+ video_id?: InputMaybe<Scalars['ID']['input']>;
1414
+ };
1415
+ export type TBrandVideosArgs = {
1416
+ after?: InputMaybe<Scalars['String']['input']>;
1417
+ first?: InputMaybe<Scalars['FirstElement']['input']>;
1418
+ options?: InputMaybe<TVideoListConnectionOptions>;
1419
+ orderBy?: InputMaybe<TVideoOrder>;
1420
+ pagination?: InputMaybe<TPagination>;
1421
+ };
1392
1422
  export type TBrandEdge = {
1393
1423
  __typename?: 'BrandEdge';
1394
1424
  cursor: Scalars['String']['output'];
@@ -2787,11 +2817,30 @@ export type TCreateVersionType = {
2787
2817
  publication_status?: InputMaybe<PublicationStatus>;
2788
2818
  user_back_id: Scalars['ID']['input'];
2789
2819
  };
2820
+ export type TCreateVideoType = {
2821
+ brand_id: Scalars['ID']['input'];
2822
+ caption?: InputMaybe<Scalars['String']['input']>;
2823
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2824
+ credit?: InputMaybe<Scalars['String']['input']>;
2825
+ duration?: InputMaybe<Scalars['String']['input']>;
2826
+ external_id?: InputMaybe<Scalars['String']['input']>;
2827
+ player?: InputMaybe<Array<InputMaybe<TPlayerInput>>>;
2828
+ ratio?: InputMaybe<Scalars['String']['input']>;
2829
+ service?: InputMaybe<VideoSource>;
2830
+ src?: InputMaybe<Scalars['String']['input']>;
2831
+ thumbnail?: InputMaybe<Scalars['String']['input']>;
2832
+ title?: InputMaybe<Scalars['String']['input']>;
2833
+ };
2790
2834
  export type TDeletePhotoType = {
2791
2835
  brand_id: Scalars['ID']['input'];
2792
2836
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
2793
2837
  id: Scalars['ID']['input'];
2794
2838
  };
2839
+ export type TDeleteVideoType = {
2840
+ brand_id: Scalars['ID']['input'];
2841
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2842
+ id: Scalars['ID']['input'];
2843
+ };
2795
2844
  export declare enum Display {
2796
2845
  FORCED = "FORCED",
2797
2846
  HIDDEN = "HIDDEN",
@@ -4369,6 +4418,7 @@ export type TLiveFilter = {
4369
4418
  published_at?: InputMaybe<TPublishedAtFilter>;
4370
4419
  rubric_id?: InputMaybe<TLiveRubricIdFilter>;
4371
4420
  scheduled_at?: InputMaybe<TScheduledAtFilter>;
4421
+ sentiment?: InputMaybe<TLiveSentimentFilter>;
4372
4422
  signature_inline_type?: InputMaybe<TSignatureInlineTypeFilter>;
4373
4423
  signature_inline_user_back_ids?: InputMaybe<TSignatureInlineUserBackIdsFilter>;
4374
4424
  state?: InputMaybe<TLiveStateTypeFilter>;
@@ -4575,7 +4625,8 @@ export type TLivePostOrder = {
4575
4625
  export declare enum LivePostOrderField {
4576
4626
  CREATED_AT = "CREATED_AT",
4577
4627
  EDITED_AT = "EDITED_AT",
4578
- PUBLISHED_AT = "PUBLISHED_AT"
4628
+ PUBLISHED_AT = "PUBLISHED_AT",
4629
+ SCHEDULED_AT = "SCHEDULED_AT"
4579
4630
  }
4580
4631
  export type TLivePostPayload = {
4581
4632
  __typename?: 'LivePostPayload';
@@ -4681,6 +4732,22 @@ export declare enum LiveSearchField {
4681
4732
  SUMMARY_TEXT = "SUMMARY_TEXT",
4682
4733
  TITLE = "TITLE"
4683
4734
  }
4735
+ export type TLiveSentimentFilter = {
4736
+ eq?: InputMaybe<Sentiment>;
4737
+ gt?: InputMaybe<Sentiment>;
4738
+ gte?: InputMaybe<Sentiment>;
4739
+ ilike?: InputMaybe<Sentiment>;
4740
+ in?: InputMaybe<Array<InputMaybe<Sentiment>>>;
4741
+ like?: InputMaybe<Sentiment>;
4742
+ lt?: InputMaybe<Sentiment>;
4743
+ lte?: InputMaybe<Sentiment>;
4744
+ ne?: InputMaybe<Sentiment>;
4745
+ nilike?: InputMaybe<Sentiment>;
4746
+ nin?: InputMaybe<Array<InputMaybe<Sentiment>>>;
4747
+ nlike?: InputMaybe<Sentiment>;
4748
+ nre?: InputMaybe<Sentiment>;
4749
+ re?: InputMaybe<Sentiment>;
4750
+ };
4684
4751
  export type TLiveSingleConnection = {
4685
4752
  __typename?: 'LiveSingleConnection';
4686
4753
  node?: Maybe<TLive>;
@@ -5311,6 +5378,7 @@ export type TMutation = {
5311
5378
  createUserBot?: Maybe<TUserBotPayload>;
5312
5379
  createUserFront?: Maybe<TUserFrontPayload>;
5313
5380
  createVersion?: Maybe<TVersionPayload>;
5381
+ createVideo?: Maybe<TVideoPayload>;
5314
5382
  deactivateUserBack?: Maybe<TUserBackPayload>;
5315
5383
  deleteAdUnit?: Maybe<TAdUnitPayload>;
5316
5384
  deleteArticle?: Maybe<TArticlePayload>;
@@ -5358,6 +5426,7 @@ export type TMutation = {
5358
5426
  deleteUserBot?: Maybe<TUserBotPayload>;
5359
5427
  deleteUserFront?: Maybe<TUserFrontPayload>;
5360
5428
  deleteVersion?: Maybe<TVersionPayload>;
5429
+ deleteVideo?: Maybe<TVideoPayload>;
5361
5430
  enableBookReviewSubscriptionUserFront?: Maybe<TUserFrontPayload>;
5362
5431
  fillCampaignsResultsPush?: Maybe<TPushPayload>;
5363
5432
  forgotPasswordUserFront?: Maybe<TUserFrontIdPayload>;
@@ -5430,6 +5499,7 @@ export type TMutation = {
5430
5499
  undeleteTag?: Maybe<TTagPayload>;
5431
5500
  undeleteUserBack?: Maybe<TUserBackPayload>;
5432
5501
  undeleteUserFront?: Maybe<TUserFrontPayload>;
5502
+ undeleteVideo?: Maybe<TVideoPayload>;
5433
5503
  unsaveArticleUserFront?: Maybe<TUserFrontArticlesSavedPayload>;
5434
5504
  unsubscribeUserFrontPaidAccount?: Maybe<TUserFrontIdPayload>;
5435
5505
  unsubscriptionNewsletterUserFront?: Maybe<TUserFrontIdPayload>;
@@ -5503,6 +5573,7 @@ export type TMutation = {
5503
5573
  updateUserFrontQualifio?: Maybe<TUserFrontIdPayload>;
5504
5574
  updateUserFrontTutorials?: Maybe<TUserFrontIdPayload>;
5505
5575
  updateUserFrontUsername?: Maybe<TUserFrontPayload>;
5576
+ updateVideo?: Maybe<TVideoPayload>;
5506
5577
  };
5507
5578
  export type TMutationActivateUserBackArgs = {
5508
5579
  input?: InputMaybe<TUserBackIdentifierInputType>;
@@ -5776,6 +5847,10 @@ export type TMutationCreateVersionArgs = {
5776
5847
  input?: InputMaybe<TCreateVersionType>;
5777
5848
  options?: InputMaybe<TOptionsCreateVersionType>;
5778
5849
  };
5850
+ export type TMutationCreateVideoArgs = {
5851
+ input?: InputMaybe<TCreateVideoType>;
5852
+ options?: InputMaybe<TOptionsCreateVideoType>;
5853
+ };
5779
5854
  export type TMutationDeactivateUserBackArgs = {
5780
5855
  input?: InputMaybe<TUserBackIdentifierInputType>;
5781
5856
  };
@@ -5917,6 +5992,9 @@ export type TMutationDeleteUserFrontArgs = {
5917
5992
  export type TMutationDeleteVersionArgs = {
5918
5993
  input?: InputMaybe<TGlobalIdInputType>;
5919
5994
  };
5995
+ export type TMutationDeleteVideoArgs = {
5996
+ input?: InputMaybe<TDeleteVideoType>;
5997
+ };
5920
5998
  export type TMutationEnableBookReviewSubscriptionUserFrontArgs = {
5921
5999
  input?: InputMaybe<TEnableBookReviewSubscriptionUserFrontType>;
5922
6000
  };
@@ -6133,6 +6211,9 @@ export type TMutationUndeleteUserBackArgs = {
6133
6211
  export type TMutationUndeleteUserFrontArgs = {
6134
6212
  input?: InputMaybe<TUserFrontIdentifierInputType>;
6135
6213
  };
6214
+ export type TMutationUndeleteVideoArgs = {
6215
+ input?: InputMaybe<TDeleteVideoType>;
6216
+ };
6136
6217
  export type TMutationUnsaveArticleUserFrontArgs = {
6137
6218
  input?: InputMaybe<TUnsaveArticleUserFrontType>;
6138
6219
  };
@@ -6422,6 +6503,10 @@ export type TMutationUpdateUserFrontUsernameArgs = {
6422
6503
  input?: InputMaybe<TUpdateUserFrontUsernameType>;
6423
6504
  options?: InputMaybe<TOptionsUpdateUsernameUserFrontType>;
6424
6505
  };
6506
+ export type TMutationUpdateVideoArgs = {
6507
+ input?: InputMaybe<TUpdateVideoType>;
6508
+ options?: InputMaybe<TOptionsUpdateVideoType>;
6509
+ };
6425
6510
  export type TNewsDispatch = TNode & {
6426
6511
  __typename?: 'NewsDispatch';
6427
6512
  brand_id: Scalars['ID']['output'];
@@ -6923,6 +7008,9 @@ export type TOptionsCreateUserFrontType = {
6923
7008
  export type TOptionsCreateVersionType = {
6924
7009
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
6925
7010
  };
7011
+ export type TOptionsCreateVideoType = {
7012
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
7013
+ };
6926
7014
  export type TOptionsUpdateAdUnitType = {
6927
7015
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
6928
7016
  };
@@ -7161,6 +7249,9 @@ export type TOptionsUpdateUserFrontType = {
7161
7249
  export type TOptionsUpdateUsernameUserFrontType = {
7162
7250
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
7163
7251
  };
7252
+ export type TOptionsUpdateVideoType = {
7253
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
7254
+ };
7164
7255
  export declare enum OrderDirection {
7165
7256
  ASC = "ASC",
7166
7257
  DESC = "DESC"
@@ -8237,6 +8328,7 @@ export type TPublishableContentFilter = {
8237
8328
  published_at?: InputMaybe<TPublishedAtFilter>;
8238
8329
  rubric_id?: InputMaybe<TPublishableContentRubricIdFilter>;
8239
8330
  scheduled_at?: InputMaybe<TScheduledAtFilter>;
8331
+ sentiment?: InputMaybe<TPublishableContentSentimentFilter>;
8240
8332
  signature_inline_type?: InputMaybe<TSignatureInlineTypeFilter>;
8241
8333
  signature_inline_user_back_ids?: InputMaybe<TSignatureInlineUserBackIdsFilter>;
8242
8334
  tag_ids?: InputMaybe<TPublishableContentTagIdsFilter>;
@@ -8326,6 +8418,22 @@ export declare enum PublishableContentSearchField {
8326
8418
  SUMMARY_TEXT = "SUMMARY_TEXT",
8327
8419
  TITLE = "TITLE"
8328
8420
  }
8421
+ export type TPublishableContentSentimentFilter = {
8422
+ eq?: InputMaybe<Sentiment>;
8423
+ gt?: InputMaybe<Sentiment>;
8424
+ gte?: InputMaybe<Sentiment>;
8425
+ ilike?: InputMaybe<Sentiment>;
8426
+ in?: InputMaybe<Array<InputMaybe<Sentiment>>>;
8427
+ like?: InputMaybe<Sentiment>;
8428
+ lt?: InputMaybe<Sentiment>;
8429
+ lte?: InputMaybe<Sentiment>;
8430
+ ne?: InputMaybe<Sentiment>;
8431
+ nilike?: InputMaybe<Sentiment>;
8432
+ nin?: InputMaybe<Array<InputMaybe<Sentiment>>>;
8433
+ nlike?: InputMaybe<Sentiment>;
8434
+ nre?: InputMaybe<Sentiment>;
8435
+ re?: InputMaybe<Sentiment>;
8436
+ };
8329
8437
  export type TPublishableContentSingleConnection = {
8330
8438
  __typename?: 'PublishableContentSingleConnection';
8331
8439
  node?: Maybe<TPublishableContent>;
@@ -9964,6 +10072,7 @@ export type TStoryFilter = {
9964
10072
  published_at?: InputMaybe<TPublishedAtFilter>;
9965
10073
  rubric_id?: InputMaybe<TStoryRubricIdFilter>;
9966
10074
  scheduled_at?: InputMaybe<TScheduledAtFilter>;
10075
+ sentiment?: InputMaybe<TStorySentimentFilter>;
9967
10076
  signature_id?: InputMaybe<TStorySignatureIdFilter>;
9968
10077
  signature_inline_type?: InputMaybe<TSignatureInlineTypeFilter>;
9969
10078
  signature_inline_user_back_ids?: InputMaybe<TSignatureInlineUserBackIdsFilter>;
@@ -10171,6 +10280,22 @@ export declare enum StorySearchField {
10171
10280
  SHORT_TITLE = "SHORT_TITLE",
10172
10281
  TITLE = "TITLE"
10173
10282
  }
10283
+ export type TStorySentimentFilter = {
10284
+ eq?: InputMaybe<Sentiment>;
10285
+ gt?: InputMaybe<Sentiment>;
10286
+ gte?: InputMaybe<Sentiment>;
10287
+ ilike?: InputMaybe<Sentiment>;
10288
+ in?: InputMaybe<Array<InputMaybe<Sentiment>>>;
10289
+ like?: InputMaybe<Sentiment>;
10290
+ lt?: InputMaybe<Sentiment>;
10291
+ lte?: InputMaybe<Sentiment>;
10292
+ ne?: InputMaybe<Sentiment>;
10293
+ nilike?: InputMaybe<Sentiment>;
10294
+ nin?: InputMaybe<Array<InputMaybe<Sentiment>>>;
10295
+ nlike?: InputMaybe<Sentiment>;
10296
+ nre?: InputMaybe<Sentiment>;
10297
+ re?: InputMaybe<Sentiment>;
10298
+ };
10174
10299
  export type TStorySignatureIdFilter = {
10175
10300
  eq?: InputMaybe<Scalars['ID']['input']>;
10176
10301
  gt?: InputMaybe<Scalars['ID']['input']>;
@@ -11754,6 +11879,21 @@ export type TUpdateUserFrontType = {
11754
11879
  website?: InputMaybe<Scalars['String']['input']>;
11755
11880
  zipcode?: InputMaybe<Scalars['String']['input']>;
11756
11881
  };
11882
+ export type TUpdateVideoType = {
11883
+ brand_id: Scalars['ID']['input'];
11884
+ caption?: InputMaybe<Scalars['String']['input']>;
11885
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
11886
+ credit?: InputMaybe<Scalars['String']['input']>;
11887
+ duration?: InputMaybe<Scalars['String']['input']>;
11888
+ external_id?: InputMaybe<Scalars['String']['input']>;
11889
+ id: Scalars['ID']['input'];
11890
+ player?: InputMaybe<Array<InputMaybe<TPlayerInput>>>;
11891
+ ratio?: InputMaybe<Scalars['String']['input']>;
11892
+ service?: InputMaybe<VideoSource>;
11893
+ src?: InputMaybe<Scalars['String']['input']>;
11894
+ thumbnail?: InputMaybe<Scalars['String']['input']>;
11895
+ title?: InputMaybe<Scalars['String']['input']>;
11896
+ };
11757
11897
  export type TUserBack = TNode & TTimestampable & {
11758
11898
  __typename?: 'UserBack';
11759
11899
  active?: Maybe<Scalars['Boolean']['output']>;
@@ -12284,6 +12424,24 @@ export type TVersionSingleConnection = {
12284
12424
  node?: Maybe<TVersion>;
12285
12425
  resolveInfo?: Maybe<TResolveInfo>;
12286
12426
  };
12427
+ export type TVideo = TNode & TTimestampable & {
12428
+ __typename?: 'Video';
12429
+ brand_id: Scalars['ID']['output'];
12430
+ caption?: Maybe<Scalars['String']['output']>;
12431
+ created_at?: Maybe<Scalars['DateTime']['output']>;
12432
+ credit?: Maybe<Scalars['String']['output']>;
12433
+ deleted_at?: Maybe<Scalars['DateTime']['output']>;
12434
+ duration?: Maybe<Scalars['String']['output']>;
12435
+ edited_at?: Maybe<Scalars['DateTime']['output']>;
12436
+ external_id?: Maybe<Scalars['String']['output']>;
12437
+ id: Scalars['ID']['output'];
12438
+ player?: Maybe<Array<Maybe<TPlayer>>>;
12439
+ ratio?: Maybe<Scalars['String']['output']>;
12440
+ service?: Maybe<VideoSource>;
12441
+ src?: Maybe<Scalars['String']['output']>;
12442
+ thumbnail?: Maybe<Scalars['String']['output']>;
12443
+ title?: Maybe<Scalars['String']['output']>;
12444
+ };
12287
12445
  export type TVideoCatalogOrder = {
12288
12446
  direction?: InputMaybe<OrderDirection>;
12289
12447
  field?: InputMaybe<VideoCatalogOrderField>;
@@ -12291,6 +12449,42 @@ export type TVideoCatalogOrder = {
12291
12449
  export declare enum VideoCatalogOrderField {
12292
12450
  LABEL = "LABEL"
12293
12451
  }
12452
+ export type TVideoEdge = {
12453
+ __typename?: 'VideoEdge';
12454
+ cursor: Scalars['String']['output'];
12455
+ node?: Maybe<TVideo>;
12456
+ };
12457
+ export type TVideoListConnection = {
12458
+ __typename?: 'VideoListConnection';
12459
+ edges?: Maybe<Array<Maybe<TVideoEdge>>>;
12460
+ pageInfo: TPageInfo;
12461
+ resolveInfo?: Maybe<TResolveInfo>;
12462
+ totalCount?: Maybe<Scalars['Int']['output']>;
12463
+ };
12464
+ export declare enum VideoListConnectionMode {
12465
+ TRUTH = "TRUTH"
12466
+ }
12467
+ export type TVideoListConnectionOptions = {
12468
+ mode?: InputMaybe<VideoListConnectionMode>;
12469
+ total?: InputMaybe<VideoListConnectionTotal>;
12470
+ };
12471
+ export declare enum VideoListConnectionTotal {
12472
+ TRUTH = "TRUTH"
12473
+ }
12474
+ export type TVideoOrder = {
12475
+ direction?: InputMaybe<OrderDirection>;
12476
+ field?: InputMaybe<VideoOrderField>;
12477
+ };
12478
+ export declare enum VideoOrderField {
12479
+ CREATED_AT = "CREATED_AT",
12480
+ EDITED_AT = "EDITED_AT"
12481
+ }
12482
+ export type TVideoPayload = {
12483
+ __typename?: 'VideoPayload';
12484
+ clientMutationId?: Maybe<Scalars['String']['output']>;
12485
+ resolveInfo?: Maybe<TResolveInfo>;
12486
+ video?: Maybe<TVideo>;
12487
+ };
12294
12488
  export type TVideoSearchFilter = {
12295
12489
  catalogs?: InputMaybe<Array<InputMaybe<CatalogDigiteka>>>;
12296
12490
  date_after?: InputMaybe<Scalars['DateTime']['input']>;
@@ -12308,6 +12502,21 @@ export declare enum VideoSearchSortField {
12308
12502
  SEARCH = "SEARCH",
12309
12503
  TOP = "TOP"
12310
12504
  }
12505
+ export type TVideoSingleConnection = {
12506
+ __typename?: 'VideoSingleConnection';
12507
+ node?: Maybe<TVideo>;
12508
+ resolveInfo?: Maybe<TResolveInfo>;
12509
+ };
12510
+ export declare enum VideoSingleConnectionMode {
12511
+ TRUTH = "TRUTH"
12512
+ }
12513
+ export type TVideoSingleConnectionOptions = {
12514
+ mode?: InputMaybe<VideoSingleConnectionMode>;
12515
+ total?: InputMaybe<VideoSingleConnectionTotal>;
12516
+ };
12517
+ export declare enum VideoSingleConnectionTotal {
12518
+ TRUTH = "TRUTH"
12519
+ }
12311
12520
  export declare enum VideoSource {
12312
12521
  digiteka = "digiteka"
12313
12522
  }
@@ -13059,7 +13268,7 @@ export type TMedia = {
13059
13268
  photo_id?: Maybe<Scalars['ID']['output']>;
13060
13269
  podcast?: Maybe<TPodcast>;
13061
13270
  type?: Maybe<MediaSourceType>;
13062
- video?: Maybe<TVideo>;
13271
+ video?: Maybe<TMediaVideo>;
13063
13272
  };
13064
13273
  export type TMediaPhotoArgs = {
13065
13274
  brand_id?: InputMaybe<Scalars['ID']['input']>;
@@ -13073,6 +13282,19 @@ export type TMediaInput = {
13073
13282
  type?: InputMaybe<MediaSourceType>;
13074
13283
  video?: InputMaybe<TVideoInput>;
13075
13284
  };
13285
+ export type TMediaVideo = {
13286
+ __typename?: 'mediaVideo';
13287
+ caption?: Maybe<Scalars['String']['output']>;
13288
+ credit?: Maybe<Scalars['String']['output']>;
13289
+ duration?: Maybe<Scalars['String']['output']>;
13290
+ external_id?: Maybe<Scalars['String']['output']>;
13291
+ player?: Maybe<Array<Maybe<TPlayer>>>;
13292
+ ratio?: Maybe<Scalars['String']['output']>;
13293
+ service?: Maybe<VideoSource>;
13294
+ src?: Maybe<Scalars['String']['output']>;
13295
+ thumbnail?: Maybe<Scalars['String']['output']>;
13296
+ title?: Maybe<Scalars['String']['output']>;
13297
+ };
13076
13298
  export declare enum MovieCasting {
13077
13299
  cast = "cast",
13078
13300
  crew = "crew"
@@ -13297,6 +13519,15 @@ export type TPhotoAssociatedContentseditorialContentLiveArgs = {
13297
13519
  export type TPhotoAssociatedContentseditorialContentStoryArgs = {
13298
13520
  brand_id?: InputMaybe<Scalars['ID']['input']>;
13299
13521
  };
13522
+ export type TPlayer = {
13523
+ __typename?: 'player';
13524
+ external_id?: Maybe<Scalars['String']['output']>;
13525
+ service?: Maybe<VideoSource>;
13526
+ };
13527
+ export type TPlayerInput = {
13528
+ external_id?: InputMaybe<Scalars['String']['input']>;
13529
+ service?: InputMaybe<VideoSource>;
13530
+ };
13300
13531
  export type TPodcast = {
13301
13532
  __typename?: 'podcast';
13302
13533
  service?: Maybe<PodcastSource>;
@@ -13682,15 +13913,6 @@ export type TVersionAssociatedContenteditorialContentLiveArgs = {
13682
13913
  export type TVersionAssociatedContenteditorialContentStoryArgs = {
13683
13914
  brand_id?: InputMaybe<Scalars['ID']['input']>;
13684
13915
  };
13685
- export type TVideo = {
13686
- __typename?: 'video';
13687
- duration?: Maybe<Scalars['String']['output']>;
13688
- external_id?: Maybe<Scalars['String']['output']>;
13689
- service?: Maybe<VideoSource>;
13690
- src?: Maybe<Scalars['String']['output']>;
13691
- thumbnail?: Maybe<Scalars['String']['output']>;
13692
- title?: Maybe<Scalars['String']['output']>;
13693
- };
13694
13916
  export type TVideoCatalog = {
13695
13917
  __typename?: 'videoCatalog';
13696
13918
  id?: Maybe<Scalars['String']['output']>;
@@ -13710,8 +13932,12 @@ export type TVideoCatalogListConnection = {
13710
13932
  totalCount?: Maybe<Scalars['Int']['output']>;
13711
13933
  };
13712
13934
  export type TVideoInput = {
13935
+ caption?: InputMaybe<Scalars['String']['input']>;
13936
+ credit?: InputMaybe<Scalars['String']['input']>;
13713
13937
  duration?: InputMaybe<Scalars['String']['input']>;
13714
13938
  external_id?: InputMaybe<Scalars['String']['input']>;
13939
+ player?: InputMaybe<Array<InputMaybe<TPlayerInput>>>;
13940
+ ratio?: InputMaybe<Scalars['String']['input']>;
13715
13941
  service?: InputMaybe<VideoSource>;
13716
13942
  src?: InputMaybe<Scalars['String']['input']>;
13717
13943
  thumbnail?: InputMaybe<Scalars['String']['input']>;
@@ -13792,7 +14018,7 @@ export type TPublishableContentFragment = {
13792
14018
  } | null;
13793
14019
  } | null;
13794
14020
  video?: {
13795
- __typename?: 'video';
14021
+ __typename?: 'mediaVideo';
13796
14022
  src?: string | null;
13797
14023
  title?: string | null;
13798
14024
  duration?: string | null;
@@ -13881,7 +14107,7 @@ export type TGetTagArticlesQuery = {
13881
14107
  } | null;
13882
14108
  } | null;
13883
14109
  video?: {
13884
- __typename?: 'video';
14110
+ __typename?: 'mediaVideo';
13885
14111
  src?: string | null;
13886
14112
  title?: string | null;
13887
14113
  duration?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@20minutes/tyr",
3
- "version": "0.1.113",
3
+ "version": "0.1.114",
4
4
  "repository": "git@github.com:20minutes/tyr.git",
5
5
  "license": "MIT",
6
6
  "author": "20 Minutes",
@@ -46,11 +46,11 @@
46
46
  "node": ">=18"
47
47
  },
48
48
  "dependencies": {
49
- "@20minutes/hela": "^0.1.107",
49
+ "@20minutes/hela": "^0.1.108",
50
50
  "aws-rum-web": "^1.13.7",
51
51
  "draft-convert": "^2.1.13",
52
52
  "draft-js": "^0.11.7",
53
- "html-entities": "^2.3.3",
53
+ "html-entities": "^2.3.5",
54
54
  "html-react-parser": "^4.0.0",
55
55
  "node-html-parser": "^6.1.5",
56
56
  "react": "^18.2.0",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@20minutes/eslint-config": "^1.2.4",
61
- "@aws-sdk/client-s3": "3.344.0",
61
+ "@aws-sdk/client-s3": "3.347.1",
62
62
  "@babel/core": "^7.22.1",
63
63
  "@graphql-codegen/cli": "^4.0.1",
64
64
  "@graphql-codegen/typescript": "^4.0.0",
@@ -82,11 +82,11 @@
82
82
  "@types/googletag": "^3.0.3",
83
83
  "@types/react": "^18.2.8",
84
84
  "@types/react-dom": "^18.2.4",
85
- "@typescript-eslint/eslint-plugin": "^5.59.8",
86
- "@typescript-eslint/parser": "^5.59.8",
85
+ "@typescript-eslint/eslint-plugin": "^5.59.9",
86
+ "@typescript-eslint/parser": "^5.59.9",
87
87
  "@vitejs/plugin-react": "^4.0.0",
88
88
  "babel-loader": "^9.1.2",
89
- "eslint": "^8.41.0",
89
+ "eslint": "^8.42.0",
90
90
  "eslint-config-airbnb": "^19.0.4",
91
91
  "eslint-config-prettier": "^8.8.0",
92
92
  "eslint-import-resolver-alias": "^1.1.2",
@@ -105,7 +105,7 @@
105
105
  "prettier": "^2.8.8",
106
106
  "purgecss": "^5.0.0",
107
107
  "purgecss-from-html": "^5.0.0",
108
- "rollup": "^3.23.0",
108
+ "rollup": "^3.23.1",
109
109
  "rollup-plugin-cleanup": "^3.2.1",
110
110
  "rollup-plugin-esbuild": "^5.0.0",
111
111
  "rollup-plugin-typescript-paths": "^1.4.0",
@@ -117,6 +117,6 @@
117
117
  "vite": "^4.3.9",
118
118
  "vite-plugin-dts": "^2.3.0",
119
119
  "vite-tsconfig-paths": "^4.2.0",
120
- "vitest": "0.31.4"
120
+ "vitest": "0.32.0"
121
121
  }
122
122
  }