@20minutes/tyr 2.13.1 → 2.13.2
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 +11952 -11868
- package/dist/index.umd.js +84 -84
- package/dist/js/ads.min.js +1 -1
- package/dist/js/cmp.min.js +1 -1
- package/dist/js/main.min.js +3 -3
- package/dist/src/assets/datalayer/types/DatalayerInfoType.d.ts +1 -0
- package/dist/src/assets/main/printButton.d.ts +2 -0
- package/dist/src/helpers/ads/AdsManager.d.ts +6 -0
- package/dist/src/helpers/ads/config/article.d.ts +0 -1
- package/dist/src/helpers/ads/config/tag.d.ts +2 -0
- package/dist/src/managers/TagPageManager.d.ts +5 -1
- package/dist/src/types/graphql.d.ts +236 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LayoutType } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
export declare const brandPublishingSections: string[];
|
|
3
4
|
export interface AdPositions {
|
|
4
5
|
aboveSponsoredContent?: React.ReactNode;
|
|
5
6
|
belowSponsoredContent?: React.ReactNode;
|
|
@@ -12,6 +13,11 @@ export interface AdPositions {
|
|
|
12
13
|
aboveSummary?: React.ReactNode;
|
|
13
14
|
topPage?: React.ReactNode;
|
|
14
15
|
middle?: React.ReactNode;
|
|
16
|
+
stickyAsideTop?: React.ReactNode;
|
|
17
|
+
stickyAsideBottom?: React.ReactNode;
|
|
18
|
+
native?: React.ReactNode;
|
|
19
|
+
adListTop?: React.ReactNode;
|
|
20
|
+
adListBottom?: React.ReactNode;
|
|
15
21
|
}
|
|
16
22
|
export interface AdsPageConfig {
|
|
17
23
|
desktop: AdPositions;
|
|
@@ -3,6 +3,5 @@ interface GenerateArticleAdsProps {
|
|
|
3
3
|
isPubstackAndVideo: boolean;
|
|
4
4
|
contentSubtype: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const brandPublishing: string[];
|
|
7
6
|
export declare const generateArticleAdsConfig: ({ isPubstackAndVideo, contentSubtype, }: GenerateArticleAdsProps) => AdsPageConfig;
|
|
8
7
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LayoutType } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { AdsPageConfig } from '../helpers/ads/AdsManager';
|
|
3
4
|
import { PageManager } from './PageManager';
|
|
4
5
|
import { TagPageProps } from '../pages/TagPage';
|
|
5
6
|
type TagPageTemplatingActivators = 'HeaderAd' | 'Ads';
|
|
@@ -9,13 +10,16 @@ interface TagContent {
|
|
|
9
10
|
articlesListTop?: React.ReactNode;
|
|
10
11
|
}
|
|
11
12
|
export declare class TagPageManager extends PageManager<TagPageProps, SelectedProps, TagPageTemplatingActivators, TagContent> {
|
|
12
|
-
|
|
13
|
+
private adsPageConfig;
|
|
14
|
+
constructor({ data, layout, adsPageConfig, }: {
|
|
13
15
|
data: TagPageFilteredProps;
|
|
14
16
|
layout: LayoutType;
|
|
17
|
+
adsPageConfig: AdsPageConfig;
|
|
15
18
|
});
|
|
16
19
|
transformContent(): TagContent;
|
|
17
20
|
resolveTemplating(): void;
|
|
18
21
|
private insertNFBAndNativeAds;
|
|
19
22
|
private insertNativeAds;
|
|
23
|
+
static removeAds(content: React.ReactNode): string;
|
|
20
24
|
}
|
|
21
25
|
export {};
|
|
@@ -1211,6 +1211,7 @@ export type TBrand = {
|
|
|
1211
1211
|
editions?: Maybe<TEditionListConnection>;
|
|
1212
1212
|
externalContent?: Maybe<TExternalContentSingleConnection>;
|
|
1213
1213
|
externalContents?: Maybe<TExternalContentListConnection>;
|
|
1214
|
+
getSignedUrl?: Maybe<TSignedDataSingleConnection>;
|
|
1214
1215
|
group?: Maybe<TGroupSingleConnection>;
|
|
1215
1216
|
groups?: Maybe<TGroupListConnection>;
|
|
1216
1217
|
home?: Maybe<THomeSingleConnection>;
|
|
@@ -1266,7 +1267,9 @@ export type TBrand = {
|
|
|
1266
1267
|
subtype?: Maybe<TSubtypeSingleConnection>;
|
|
1267
1268
|
subtypes?: Maybe<TSubtypeListConnection>;
|
|
1268
1269
|
tag?: Maybe<TTagSingleConnection>;
|
|
1270
|
+
tagCategory?: Maybe<TTagCategorySingleConnection>;
|
|
1269
1271
|
tags?: Maybe<TTagListConnection>;
|
|
1272
|
+
tagsCategory?: Maybe<TTagCategoryListConnection>;
|
|
1270
1273
|
themeColor?: Maybe<TThemeColorSingleConnection>;
|
|
1271
1274
|
themeColors?: Maybe<TThemeColorListConnection>;
|
|
1272
1275
|
userFront?: Maybe<TUserFrontSingleConnection>;
|
|
@@ -1382,6 +1385,9 @@ export type TBrandExternalContentsArgs = {
|
|
|
1382
1385
|
pagination?: InputMaybe<TPagination>;
|
|
1383
1386
|
search?: InputMaybe<Array<InputMaybe<TExternalContentInputSearch>>>;
|
|
1384
1387
|
};
|
|
1388
|
+
export type TBrandGetSignedUrlArgs = {
|
|
1389
|
+
filename: Scalars['String']['input'];
|
|
1390
|
+
};
|
|
1385
1391
|
export type TBrandGroupArgs = {
|
|
1386
1392
|
group_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1387
1393
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1680,6 +1686,11 @@ export type TBrandTagArgs = {
|
|
|
1680
1686
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1681
1687
|
tag_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1682
1688
|
};
|
|
1689
|
+
export type TBrandTagCategoryArgs = {
|
|
1690
|
+
brand_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1691
|
+
options?: InputMaybe<TTagCategorySingleConnectionOptions>;
|
|
1692
|
+
tag_category_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1693
|
+
};
|
|
1683
1694
|
export type TBrandTagsArgs = {
|
|
1684
1695
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1685
1696
|
filter?: InputMaybe<TTagFilter>;
|
|
@@ -1689,6 +1700,14 @@ export type TBrandTagsArgs = {
|
|
|
1689
1700
|
pagination?: InputMaybe<TPagination>;
|
|
1690
1701
|
search?: InputMaybe<Array<InputMaybe<TTagInputSearch>>>;
|
|
1691
1702
|
};
|
|
1703
|
+
export type TBrandTagsCategoryArgs = {
|
|
1704
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1705
|
+
filter?: InputMaybe<TTagCategoryFilter>;
|
|
1706
|
+
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
1707
|
+
options?: InputMaybe<TTagCategoryListConnectionOptions>;
|
|
1708
|
+
orderBy?: InputMaybe<TTagCategoryOrder>;
|
|
1709
|
+
pagination?: InputMaybe<TPagination>;
|
|
1710
|
+
};
|
|
1692
1711
|
export type TBrandThemeColorArgs = {
|
|
1693
1712
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1694
1713
|
theme_color_id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -3270,6 +3289,7 @@ export type TCreatePhotoWithoutBinaryType = {
|
|
|
3270
3289
|
ratios?: InputMaybe<TRatiosInput>;
|
|
3271
3290
|
selectable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3272
3291
|
sipa_id?: InputMaybe<Scalars['String']['input']>;
|
|
3292
|
+
sipa_transmission_reference?: InputMaybe<Scalars['String']['input']>;
|
|
3273
3293
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
3274
3294
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
3275
3295
|
took_at?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -3486,6 +3506,13 @@ export type TCreateSuggestAiType = {
|
|
|
3486
3506
|
summary?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
3487
3507
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
3488
3508
|
};
|
|
3509
|
+
export type TCreateTagCategoryType = {
|
|
3510
|
+
brand_id: Scalars['ID']['input'];
|
|
3511
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
3512
|
+
databaseId?: InputMaybe<Scalars['UUID']['input']>;
|
|
3513
|
+
name: Scalars['String']['input'];
|
|
3514
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
3515
|
+
};
|
|
3489
3516
|
export type TCreateTagInputType = {
|
|
3490
3517
|
associated_tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
3491
3518
|
block_link_public_id?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -3508,6 +3535,7 @@ export type TCreateTagInputType = {
|
|
|
3508
3535
|
selectable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3509
3536
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
3510
3537
|
status?: InputMaybe<TagStatusType>;
|
|
3538
|
+
tag_category_id?: InputMaybe<Scalars['ID']['input']>;
|
|
3511
3539
|
theme_color_id?: InputMaybe<Scalars['ID']['input']>;
|
|
3512
3540
|
third_party?: InputMaybe<TThirdPartyInput>;
|
|
3513
3541
|
url_canonical?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7141,6 +7169,7 @@ export type TMutation = {
|
|
|
7141
7169
|
createSubtype?: Maybe<TSubtypePayload>;
|
|
7142
7170
|
createSuggestAI?: Maybe<TSuggestAiPayload>;
|
|
7143
7171
|
createTag?: Maybe<TTagPayload>;
|
|
7172
|
+
createTagCategory?: Maybe<TTagCategoryPayload>;
|
|
7144
7173
|
createThemeColor?: Maybe<TThemeColorPayload>;
|
|
7145
7174
|
createUserBack?: Maybe<TUserBackPayload>;
|
|
7146
7175
|
createUserBackBrand?: Maybe<TUserBackBrandPayload>;
|
|
@@ -7201,6 +7230,7 @@ export type TMutation = {
|
|
|
7201
7230
|
deleteSubtype?: Maybe<TSubtypePayload>;
|
|
7202
7231
|
deleteSuggestAI?: Maybe<TSuggestAiPayload>;
|
|
7203
7232
|
deleteTag?: Maybe<TTagPayload>;
|
|
7233
|
+
deleteTagCategory?: Maybe<TTagCategoryPayload>;
|
|
7204
7234
|
deleteThemeColor?: Maybe<TThemeColorPayload>;
|
|
7205
7235
|
deleteUserBack?: Maybe<TUserBackPayload>;
|
|
7206
7236
|
deleteUserBackBrand?: Maybe<TUserBackBrandPayload>;
|
|
@@ -7289,6 +7319,7 @@ export type TMutation = {
|
|
|
7289
7319
|
undeleteSubtype?: Maybe<TSubtypePayload>;
|
|
7290
7320
|
undeleteSuggestAI?: Maybe<TSuggestAiPayload>;
|
|
7291
7321
|
undeleteTag?: Maybe<TTagPayload>;
|
|
7322
|
+
undeleteTagCategory?: Maybe<TTagCategoryPayload>;
|
|
7292
7323
|
undeleteThemeColor?: Maybe<TThemeColorPayload>;
|
|
7293
7324
|
undeleteUserBack?: Maybe<TUserBackPayload>;
|
|
7294
7325
|
undeleteUserFront?: Maybe<TUserFrontPayload>;
|
|
@@ -7363,12 +7394,14 @@ export type TMutation = {
|
|
|
7363
7394
|
updateService?: Maybe<TServicePayload>;
|
|
7364
7395
|
updateSession?: Maybe<TSessionPayload>;
|
|
7365
7396
|
updateSign?: Maybe<TSignPayload>;
|
|
7397
|
+
updateStormUserFront?: Maybe<TUserFrontPayload>;
|
|
7366
7398
|
updateStory?: Maybe<TStoryPayload>;
|
|
7367
7399
|
updateStoryPage?: Maybe<TStoryPagePayload>;
|
|
7368
7400
|
updateStoryTags?: Maybe<TStoryPayload>;
|
|
7369
7401
|
updateSubtype?: Maybe<TSubtypePayload>;
|
|
7370
7402
|
updateSuggestAI?: Maybe<TSuggestAiPayload>;
|
|
7371
7403
|
updateTag?: Maybe<TTagPayload>;
|
|
7404
|
+
updateTagCategory?: Maybe<TTagCategoryPayload>;
|
|
7372
7405
|
updateThemeColor?: Maybe<TThemeColorPayload>;
|
|
7373
7406
|
updateUserBack?: Maybe<TUserBackPayload>;
|
|
7374
7407
|
updateUserBackBrand?: Maybe<TUserBackBrandPayload>;
|
|
@@ -7682,6 +7715,10 @@ export type TMutationCreateTagArgs = {
|
|
|
7682
7715
|
input?: InputMaybe<TCreateTagInputType>;
|
|
7683
7716
|
options?: InputMaybe<TOptionsCreateTagType>;
|
|
7684
7717
|
};
|
|
7718
|
+
export type TMutationCreateTagCategoryArgs = {
|
|
7719
|
+
input?: InputMaybe<TCreateTagCategoryType>;
|
|
7720
|
+
options?: InputMaybe<TOptionsCreateTagCategoryType>;
|
|
7721
|
+
};
|
|
7685
7722
|
export type TMutationCreateThemeColorArgs = {
|
|
7686
7723
|
input?: InputMaybe<TCreateThemeColorType>;
|
|
7687
7724
|
options?: InputMaybe<TOptionsCreateThemeColorType>;
|
|
@@ -7869,6 +7906,9 @@ export type TMutationDeleteSuggestAiArgs = {
|
|
|
7869
7906
|
export type TMutationDeleteTagArgs = {
|
|
7870
7907
|
input?: InputMaybe<TTagIdentifierInputType>;
|
|
7871
7908
|
};
|
|
7909
|
+
export type TMutationDeleteTagCategoryArgs = {
|
|
7910
|
+
input?: InputMaybe<TTagCategoryIdentifierInputType>;
|
|
7911
|
+
};
|
|
7872
7912
|
export type TMutationDeleteThemeColorArgs = {
|
|
7873
7913
|
input?: InputMaybe<TThemeColorIdentifierInputType>;
|
|
7874
7914
|
};
|
|
@@ -8133,6 +8173,9 @@ export type TMutationUndeleteSuggestAiArgs = {
|
|
|
8133
8173
|
export type TMutationUndeleteTagArgs = {
|
|
8134
8174
|
input?: InputMaybe<TTagIdentifierInputType>;
|
|
8135
8175
|
};
|
|
8176
|
+
export type TMutationUndeleteTagCategoryArgs = {
|
|
8177
|
+
input?: InputMaybe<TTagCategoryIdentifierInputType>;
|
|
8178
|
+
};
|
|
8136
8179
|
export type TMutationUndeleteThemeColorArgs = {
|
|
8137
8180
|
input?: InputMaybe<TThemeColorIdentifierInputType>;
|
|
8138
8181
|
};
|
|
@@ -8421,6 +8464,10 @@ export type TMutationUpdateSignArgs = {
|
|
|
8421
8464
|
input?: InputMaybe<TUpdateSignType>;
|
|
8422
8465
|
options?: InputMaybe<TOptionsUpdateSignType>;
|
|
8423
8466
|
};
|
|
8467
|
+
export type TMutationUpdateStormUserFrontArgs = {
|
|
8468
|
+
input?: InputMaybe<TUpdateUserFrontType>;
|
|
8469
|
+
options?: InputMaybe<TOptionsUpdateStormUserFrontType>;
|
|
8470
|
+
};
|
|
8424
8471
|
export type TMutationUpdateStoryArgs = {
|
|
8425
8472
|
input?: InputMaybe<TUpdateStoryType>;
|
|
8426
8473
|
options?: InputMaybe<TOptionsUpdateStoryType>;
|
|
@@ -8445,6 +8492,10 @@ export type TMutationUpdateTagArgs = {
|
|
|
8445
8492
|
input?: InputMaybe<TUpdateTagInputType>;
|
|
8446
8493
|
options?: InputMaybe<TOptionsUpdateTagType>;
|
|
8447
8494
|
};
|
|
8495
|
+
export type TMutationUpdateTagCategoryArgs = {
|
|
8496
|
+
input?: InputMaybe<TUpdateTagCategoryType>;
|
|
8497
|
+
options?: InputMaybe<TOptionsUpdateTagCategoryType>;
|
|
8498
|
+
};
|
|
8448
8499
|
export type TMutationUpdateThemeColorArgs = {
|
|
8449
8500
|
input?: InputMaybe<TUpdateThemeColorType>;
|
|
8450
8501
|
options?: InputMaybe<TOptionsUpdateThemeColorType>;
|
|
@@ -9316,6 +9367,9 @@ export type TOptionsCreateSuggestAiType = {
|
|
|
9316
9367
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9317
9368
|
skip_date_creation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9318
9369
|
};
|
|
9370
|
+
export type TOptionsCreateTagCategoryType = {
|
|
9371
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9372
|
+
};
|
|
9319
9373
|
export type TOptionsCreateTagType = {
|
|
9320
9374
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9321
9375
|
};
|
|
@@ -9572,6 +9626,9 @@ export type TOptionsUpdateSessionType = {
|
|
|
9572
9626
|
export type TOptionsUpdateSignType = {
|
|
9573
9627
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9574
9628
|
};
|
|
9629
|
+
export type TOptionsUpdateStormUserFrontType = {
|
|
9630
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9631
|
+
};
|
|
9575
9632
|
export type TOptionsUpdateStoryPageType = {
|
|
9576
9633
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9577
9634
|
};
|
|
@@ -9591,6 +9648,9 @@ export type TOptionsUpdateSuggestAiType = {
|
|
|
9591
9648
|
skip_fpe_edited_at?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9592
9649
|
skip_public_edited_at?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9593
9650
|
};
|
|
9651
|
+
export type TOptionsUpdateTagCategoryType = {
|
|
9652
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9653
|
+
};
|
|
9594
9654
|
export type TOptionsUpdateTagType = {
|
|
9595
9655
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
9596
9656
|
skip_edited_at?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -10244,6 +10304,7 @@ export type TPhoto = TNode & TTimestampable & {
|
|
|
10244
10304
|
ratios?: Maybe<TRatios>;
|
|
10245
10305
|
selectable?: Maybe<Scalars['Boolean']['output']>;
|
|
10246
10306
|
sipa_id?: Maybe<Scalars['String']['output']>;
|
|
10307
|
+
sipa_transmission_reference?: Maybe<Scalars['String']['output']>;
|
|
10247
10308
|
slug?: Maybe<Scalars['String']['output']>;
|
|
10248
10309
|
title?: Maybe<Scalars['String']['output']>;
|
|
10249
10310
|
took_at?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -11857,8 +11918,10 @@ export type TQuery = {
|
|
|
11857
11918
|
sign?: Maybe<TSignSingleConnection>;
|
|
11858
11919
|
signs?: Maybe<TSignListConnection>;
|
|
11859
11920
|
sipaPhotos?: Maybe<TSipaPhotoListConnection>;
|
|
11921
|
+
tagCategory?: Maybe<TTagCategorySingleConnection>;
|
|
11860
11922
|
tagSuggest?: Maybe<TTagSuggestSingleConnection>;
|
|
11861
11923
|
tagSuggestRaw?: Maybe<TRawTagSuggestSingleConnection>;
|
|
11924
|
+
tagsCategory?: Maybe<TTagCategoryListConnection>;
|
|
11862
11925
|
userBack?: Maybe<TUserBackSingleConnection>;
|
|
11863
11926
|
userBacks?: Maybe<TUserBackListConnection>;
|
|
11864
11927
|
userBot?: Maybe<TUserBotSingleConnection>;
|
|
@@ -12050,6 +12113,10 @@ export type TQuerySipaPhotosArgs = {
|
|
|
12050
12113
|
orderBy?: InputMaybe<TSipaPhotoOrderField>;
|
|
12051
12114
|
pagination?: InputMaybe<TSipaPhotoPaginationField>;
|
|
12052
12115
|
};
|
|
12116
|
+
export type TQueryTagCategoryArgs = {
|
|
12117
|
+
options?: InputMaybe<TTagCategorySingleConnectionOptions>;
|
|
12118
|
+
tag_category_id?: InputMaybe<Scalars['ID']['input']>;
|
|
12119
|
+
};
|
|
12053
12120
|
export type TQueryTagSuggestArgs = {
|
|
12054
12121
|
body?: InputMaybe<Scalars['String']['input']>;
|
|
12055
12122
|
brand_id: Scalars['ID']['input'];
|
|
@@ -12059,6 +12126,13 @@ export type TQueryTagSuggestRawArgs = {
|
|
|
12059
12126
|
brand_id: Scalars['ID']['input'];
|
|
12060
12127
|
content?: InputMaybe<TTagSuggestContentInput>;
|
|
12061
12128
|
};
|
|
12129
|
+
export type TQueryTagsCategoryArgs = {
|
|
12130
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
12131
|
+
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
12132
|
+
options?: InputMaybe<TTagCategoryListConnectionOptions>;
|
|
12133
|
+
orderBy?: InputMaybe<TTagCategoryOrder>;
|
|
12134
|
+
pagination?: InputMaybe<TPagination>;
|
|
12135
|
+
};
|
|
12062
12136
|
export type TQueryUserBackArgs = {
|
|
12063
12137
|
email?: InputMaybe<Scalars['Email']['input']>;
|
|
12064
12138
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -12880,6 +12954,16 @@ export declare enum SignatureType {
|
|
|
12880
12954
|
mn_with_afp = "mn_with_afp",
|
|
12881
12955
|
mn_with_agencies = "mn_with_agencies"
|
|
12882
12956
|
}
|
|
12957
|
+
export type TSignedData = {
|
|
12958
|
+
__typename?: 'SignedData';
|
|
12959
|
+
fields?: Maybe<Scalars['JSONObject']['output']>;
|
|
12960
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
12961
|
+
};
|
|
12962
|
+
export type TSignedDataSingleConnection = {
|
|
12963
|
+
__typename?: 'SignedDataSingleConnection';
|
|
12964
|
+
node?: Maybe<TSignedData>;
|
|
12965
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
12966
|
+
};
|
|
12883
12967
|
export type TSigninAppleUserFrontType = {
|
|
12884
12968
|
brand_id: Scalars['ID']['input'];
|
|
12885
12969
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -13809,6 +13893,8 @@ export type TTag = TCrawlable & TNode & TRouting & TTimestampable & {
|
|
|
13809
13893
|
selectable?: Maybe<Scalars['Boolean']['output']>;
|
|
13810
13894
|
slug?: Maybe<Scalars['String']['output']>;
|
|
13811
13895
|
status?: Maybe<TagStatusType>;
|
|
13896
|
+
tag_category?: Maybe<TTagCategorySingleConnection>;
|
|
13897
|
+
tag_category_id: Scalars['ID']['output'];
|
|
13812
13898
|
theme?: Maybe<Scalars['String']['output']>;
|
|
13813
13899
|
themeColor?: Maybe<TThemeColorSingleConnection>;
|
|
13814
13900
|
theme_color_id?: Maybe<Scalars['ID']['output']>;
|
|
@@ -13855,12 +13941,72 @@ export type TTagPublishableContentsArgs = {
|
|
|
13855
13941
|
export type TTagPublishingArgs = {
|
|
13856
13942
|
options?: InputMaybe<TPublishingSingleConnectionOptions>;
|
|
13857
13943
|
};
|
|
13944
|
+
export type TTagTagCategoryArgs = {
|
|
13945
|
+
options?: InputMaybe<TTagCategorySingleConnectionOptions>;
|
|
13946
|
+
};
|
|
13858
13947
|
export type TTagBlockLinkSingleConnection = {
|
|
13859
13948
|
__typename?: 'TagBlockLinkSingleConnection';
|
|
13860
13949
|
node?: Maybe<TBlockLink>;
|
|
13861
13950
|
resolveInfo?: Maybe<TResolveInfo>;
|
|
13862
13951
|
};
|
|
13952
|
+
export type TTagCategory = TNode & TTimestampable & {
|
|
13953
|
+
__typename?: 'TagCategory';
|
|
13954
|
+
brand_id: Scalars['ID']['output'];
|
|
13955
|
+
created_at?: Maybe<Scalars['DateTime']['output']>;
|
|
13956
|
+
deleted_at?: Maybe<Scalars['DateTime']['output']>;
|
|
13957
|
+
edited_at?: Maybe<Scalars['DateTime']['output']>;
|
|
13958
|
+
id: Scalars['ID']['output'];
|
|
13959
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
13960
|
+
slug?: Maybe<Scalars['String']['output']>;
|
|
13961
|
+
};
|
|
13962
|
+
export type TTagCategoryEdge = {
|
|
13963
|
+
__typename?: 'TagCategoryEdge';
|
|
13964
|
+
cursor: Scalars['String']['output'];
|
|
13965
|
+
node?: Maybe<TTagCategory>;
|
|
13966
|
+
};
|
|
13863
13967
|
export type TTagCategoryFilter = {
|
|
13968
|
+
name?: InputMaybe<TTagCategoryNameFilter>;
|
|
13969
|
+
slug?: InputMaybe<TTagCategorySlugFilter>;
|
|
13970
|
+
tag_category_id?: InputMaybe<TTagCategoryIdFilter>;
|
|
13971
|
+
};
|
|
13972
|
+
export type TTagCategoryIdFilter = {
|
|
13973
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
13974
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
13975
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
13976
|
+
ilike?: InputMaybe<Scalars['String']['input']>;
|
|
13977
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
13978
|
+
like?: InputMaybe<Scalars['String']['input']>;
|
|
13979
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
13980
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
13981
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
13982
|
+
nilike?: InputMaybe<Scalars['String']['input']>;
|
|
13983
|
+
nin?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
13984
|
+
nlike?: InputMaybe<Scalars['String']['input']>;
|
|
13985
|
+
nre?: InputMaybe<Scalars['String']['input']>;
|
|
13986
|
+
re?: InputMaybe<Scalars['String']['input']>;
|
|
13987
|
+
};
|
|
13988
|
+
export type TTagCategoryIdFromTagFilter = {
|
|
13989
|
+
eq?: InputMaybe<Scalars['ID']['input']>;
|
|
13990
|
+
gt?: InputMaybe<Scalars['ID']['input']>;
|
|
13991
|
+
gte?: InputMaybe<Scalars['ID']['input']>;
|
|
13992
|
+
ilike?: InputMaybe<Scalars['ID']['input']>;
|
|
13993
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
13994
|
+
like?: InputMaybe<Scalars['ID']['input']>;
|
|
13995
|
+
lt?: InputMaybe<Scalars['ID']['input']>;
|
|
13996
|
+
lte?: InputMaybe<Scalars['ID']['input']>;
|
|
13997
|
+
ne?: InputMaybe<Scalars['ID']['input']>;
|
|
13998
|
+
nilike?: InputMaybe<Scalars['ID']['input']>;
|
|
13999
|
+
nin?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
14000
|
+
nlike?: InputMaybe<Scalars['ID']['input']>;
|
|
14001
|
+
nre?: InputMaybe<Scalars['ID']['input']>;
|
|
14002
|
+
re?: InputMaybe<Scalars['ID']['input']>;
|
|
14003
|
+
};
|
|
14004
|
+
export type TTagCategoryIdentifierInputType = {
|
|
14005
|
+
brand_id: Scalars['ID']['input'];
|
|
14006
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
14007
|
+
id: Scalars['ID']['input'];
|
|
14008
|
+
};
|
|
14009
|
+
export type TTagCategoryLegacyFilter = {
|
|
13864
14010
|
eq?: InputMaybe<Category>;
|
|
13865
14011
|
gt?: InputMaybe<Category>;
|
|
13866
14012
|
gte?: InputMaybe<Category>;
|
|
@@ -13876,6 +14022,65 @@ export type TTagCategoryFilter = {
|
|
|
13876
14022
|
nre?: InputMaybe<Category>;
|
|
13877
14023
|
re?: InputMaybe<Category>;
|
|
13878
14024
|
};
|
|
14025
|
+
export type TTagCategoryListConnection = {
|
|
14026
|
+
__typename?: 'TagCategoryListConnection';
|
|
14027
|
+
edges?: Maybe<Array<Maybe<TTagCategoryEdge>>>;
|
|
14028
|
+
pageInfo: TPageInfo;
|
|
14029
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
14030
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
14031
|
+
};
|
|
14032
|
+
export type TTagCategoryNameFilter = {
|
|
14033
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
14034
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
14035
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
14036
|
+
ilike?: InputMaybe<Scalars['String']['input']>;
|
|
14037
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
14038
|
+
like?: InputMaybe<Scalars['String']['input']>;
|
|
14039
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
14040
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
14041
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
14042
|
+
nilike?: InputMaybe<Scalars['String']['input']>;
|
|
14043
|
+
nin?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
14044
|
+
nlike?: InputMaybe<Scalars['String']['input']>;
|
|
14045
|
+
nre?: InputMaybe<Scalars['String']['input']>;
|
|
14046
|
+
re?: InputMaybe<Scalars['String']['input']>;
|
|
14047
|
+
};
|
|
14048
|
+
export type TTagCategoryOrder = {
|
|
14049
|
+
direction?: InputMaybe<OrderDirection>;
|
|
14050
|
+
field?: InputMaybe<TagCategoryOrderField>;
|
|
14051
|
+
};
|
|
14052
|
+
export declare enum TagCategoryOrderField {
|
|
14053
|
+
CREATED_AT = "CREATED_AT",
|
|
14054
|
+
NAME = "NAME",
|
|
14055
|
+
UPDATED_AT = "UPDATED_AT"
|
|
14056
|
+
}
|
|
14057
|
+
export type TTagCategoryPayload = {
|
|
14058
|
+
__typename?: 'TagCategoryPayload';
|
|
14059
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
14060
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
14061
|
+
tagCategory?: Maybe<TTagCategory>;
|
|
14062
|
+
};
|
|
14063
|
+
export type TTagCategorySingleConnection = {
|
|
14064
|
+
__typename?: 'TagCategorySingleConnection';
|
|
14065
|
+
node?: Maybe<TTagCategory>;
|
|
14066
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
14067
|
+
};
|
|
14068
|
+
export type TTagCategorySlugFilter = {
|
|
14069
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
14070
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
14071
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
14072
|
+
ilike?: InputMaybe<Scalars['String']['input']>;
|
|
14073
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
14074
|
+
like?: InputMaybe<Scalars['String']['input']>;
|
|
14075
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
14076
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
14077
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
14078
|
+
nilike?: InputMaybe<Scalars['String']['input']>;
|
|
14079
|
+
nin?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
14080
|
+
nlike?: InputMaybe<Scalars['String']['input']>;
|
|
14081
|
+
nre?: InputMaybe<Scalars['String']['input']>;
|
|
14082
|
+
re?: InputMaybe<Scalars['String']['input']>;
|
|
14083
|
+
};
|
|
13879
14084
|
export type TTagCreatedAtFilter = {
|
|
13880
14085
|
eq?: InputMaybe<Scalars['DateTime']['input']>;
|
|
13881
14086
|
gt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -13914,7 +14119,7 @@ export type TTagEdge = {
|
|
|
13914
14119
|
node?: Maybe<TTag>;
|
|
13915
14120
|
};
|
|
13916
14121
|
export type TTagFilter = {
|
|
13917
|
-
category?: InputMaybe<
|
|
14122
|
+
category?: InputMaybe<TTagCategoryLegacyFilter>;
|
|
13918
14123
|
created_at?: InputMaybe<TTagCreatedAtFilter>;
|
|
13919
14124
|
display?: InputMaybe<TTagDisplayFilter>;
|
|
13920
14125
|
highlighted_tag_id?: InputMaybe<TTagHighlightedIdFilter>;
|
|
@@ -13930,6 +14135,7 @@ export type TTagFilter = {
|
|
|
13930
14135
|
selectable?: InputMaybe<TTagSelectableFilter>;
|
|
13931
14136
|
slug?: InputMaybe<TTagSlugFilter>;
|
|
13932
14137
|
status?: InputMaybe<TTagStatusFilter>;
|
|
14138
|
+
tag_category_id?: InputMaybe<TTagCategoryIdFromTagFilter>;
|
|
13933
14139
|
tag_id?: InputMaybe<TTagIdFilter>;
|
|
13934
14140
|
theme_color_id?: InputMaybe<TThemeColorIdFilter>;
|
|
13935
14141
|
};
|
|
@@ -15414,6 +15620,13 @@ export type TUpdateSuggestAiType = {
|
|
|
15414
15620
|
summary?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
15415
15621
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
15416
15622
|
};
|
|
15623
|
+
export type TUpdateTagCategoryType = {
|
|
15624
|
+
brand_id: Scalars['ID']['input'];
|
|
15625
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
15626
|
+
id: Scalars['ID']['input'];
|
|
15627
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
15628
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
15629
|
+
};
|
|
15417
15630
|
export type TUpdateTagInputType = {
|
|
15418
15631
|
associated_tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
15419
15632
|
block_link_public_id?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -15436,6 +15649,7 @@ export type TUpdateTagInputType = {
|
|
|
15436
15649
|
selectable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15437
15650
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
15438
15651
|
status?: InputMaybe<TagStatusType>;
|
|
15652
|
+
tag_category_id?: InputMaybe<Scalars['ID']['input']>;
|
|
15439
15653
|
theme_color_id?: InputMaybe<Scalars['ID']['input']>;
|
|
15440
15654
|
third_party?: InputMaybe<TThirdPartyInput>;
|
|
15441
15655
|
url_canonical?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -17643,6 +17857,26 @@ export type TSubscriptionNewsletterWidgetUserFrontType = {
|
|
|
17643
17857
|
origin?: InputMaybe<Origin>;
|
|
17644
17858
|
zipcode?: InputMaybe<Scalars['String']['input']>;
|
|
17645
17859
|
};
|
|
17860
|
+
export declare enum TagCategoryListConnectionMode {
|
|
17861
|
+
TRUTH = "TRUTH"
|
|
17862
|
+
}
|
|
17863
|
+
export type TTagCategoryListConnectionOptions = {
|
|
17864
|
+
mode?: InputMaybe<TagCategoryListConnectionMode>;
|
|
17865
|
+
total?: InputMaybe<TagCategoryListConnectionTotal>;
|
|
17866
|
+
};
|
|
17867
|
+
export declare enum TagCategoryListConnectionTotal {
|
|
17868
|
+
TRUTH = "TRUTH"
|
|
17869
|
+
}
|
|
17870
|
+
export declare enum TagCategorySingleConnectionMode {
|
|
17871
|
+
TRUTH = "TRUTH"
|
|
17872
|
+
}
|
|
17873
|
+
export type TTagCategorySingleConnectionOptions = {
|
|
17874
|
+
mode?: InputMaybe<TagCategorySingleConnectionMode>;
|
|
17875
|
+
total?: InputMaybe<TagCategorySingleConnectionTotal>;
|
|
17876
|
+
};
|
|
17877
|
+
export declare enum TagCategorySingleConnectionTotal {
|
|
17878
|
+
TRUTH = "TRUTH"
|
|
17879
|
+
}
|
|
17646
17880
|
export declare enum Target {
|
|
17647
17881
|
app = "app",
|
|
17648
17882
|
desktop = "desktop",
|
|
@@ -17976,6 +18210,7 @@ export type TGetHomeLocalNewsQuery = {
|
|
|
17976
18210
|
node?: {
|
|
17977
18211
|
__typename?: 'Tag';
|
|
17978
18212
|
id: string;
|
|
18213
|
+
tag_category_id: string;
|
|
17979
18214
|
brand_id: string;
|
|
17980
18215
|
label?: string | null;
|
|
17981
18216
|
slug?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/tyr.git"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@20minutes/draft-convert": "^3.0.2",
|
|
56
|
-
"@20minutes/hela": "^2.5.
|
|
56
|
+
"@20minutes/hela": "^2.5.3",
|
|
57
57
|
"aws-rum-web": "^1.22.1",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"draft-js": "^0.11.7",
|