@20minutes/tyr 2.33.2 → 2.34.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/css/legalPage-desktop-critical.css +1 -0
- package/dist/css/legalPage-desktop-no-critical.css +1 -0
- package/dist/css/legalPage-mobile-critical.css +1 -0
- package/dist/css/legalPage-mobile-no-critical.css +1 -0
- package/dist/index.es.js +37207 -36621
- package/dist/index.umd.js +120 -120
- package/dist/js/main.min.js +4 -4
- package/dist/src/assets/helpers/ajax.d.ts +1 -3
- package/dist/src/components/organisms/LegalPage/Accessibility/Accessibility.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/Accessibility/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityAndroid/AccessibilityAndroid.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityAndroid/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityIOS/AccessibilityIOS.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityIOS/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityMember/AccessibilityMember.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/AccessibilityMember/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/Cgu/Cgu.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/Cgu/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/Cookies/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/LegalMentions/LegalMentions.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/LegalMentions/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/Moderation/Moderation.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/Moderation/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/Privacy/Privacy.d.ts +5 -0
- package/dist/src/components/organisms/LegalPage/Privacy/index.d.ts +1 -0
- package/dist/src/components/organisms/LegalPage/index.d.ts +9 -0
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/config/componentConfigs/componentLegalConfigs.d.ts +2 -0
- package/dist/src/config/pageConfigs/legalPageConfig.d.ts +2 -0
- package/dist/src/pages/LegalPage/LegalPage.d.ts +14 -0
- package/dist/src/pages/LegalPage/LegalPage.stories.d.ts +75 -0
- package/dist/src/pages/LegalPage/index.d.ts +1 -0
- package/dist/src/pages/index.d.ts +1 -0
- package/dist/src/types/ComponentConfig.d.ts +16 -4
- package/dist/src/types/PageConfig.d.ts +5 -3
- package/dist/src/types/graphql.d.ts +34 -4
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Accessibility';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccessibilityAndroid';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccessibilityIOS';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccessibilityMember';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Cgu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Cookies';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LegalMentions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Moderation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Privacy';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './Accessibility';
|
|
2
|
+
export * from './AccessibilityAndroid';
|
|
3
|
+
export * from './AccessibilityIOS';
|
|
4
|
+
export * from './AccessibilityMember';
|
|
5
|
+
export * from './Cgu';
|
|
6
|
+
export * from './Cookies';
|
|
7
|
+
export * from './LegalMentions';
|
|
8
|
+
export * from './Moderation';
|
|
9
|
+
export * from './Privacy';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageTemplateProps } from '../../templates';
|
|
3
|
+
export interface LegalPageProps extends PageTemplateProps {
|
|
4
|
+
cgu?: React.ReactNode;
|
|
5
|
+
legalMentions?: React.ReactNode;
|
|
6
|
+
privacy?: React.ReactNode;
|
|
7
|
+
cookies?: React.ReactNode;
|
|
8
|
+
moderation?: React.ReactNode;
|
|
9
|
+
accessibility?: React.ReactNode;
|
|
10
|
+
accessibilityAndroid?: React.ReactNode;
|
|
11
|
+
accessibilityIOS?: React.ReactNode;
|
|
12
|
+
accessibilityMember?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const LegalPage: React.FC<LegalPageProps>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { LayoutType } from '@20minutes/hela';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<import('./LegalPage').LegalPageProps>;
|
|
7
|
+
args: {
|
|
8
|
+
htmlTemplateProps: {
|
|
9
|
+
layout: LayoutType;
|
|
10
|
+
stylesheets?: {
|
|
11
|
+
name: string;
|
|
12
|
+
url: string;
|
|
13
|
+
isCritical?: boolean | undefined;
|
|
14
|
+
}[] | undefined;
|
|
15
|
+
inlineCss?: string | undefined;
|
|
16
|
+
firstPartyScripts: import('../..').FirstPartyScriptsType;
|
|
17
|
+
thirdPartiesConfig: import('../..').ThirdPartiesConfigType;
|
|
18
|
+
gtmNoScript?: string | undefined;
|
|
19
|
+
jsonLdBreadcrumb?: React.ReactNode;
|
|
20
|
+
jsonLdFaq?: React.ReactNode;
|
|
21
|
+
jsonLdClaimReview?: React.ReactNode;
|
|
22
|
+
jsonLdLiveBlogPosting?: React.ReactNode;
|
|
23
|
+
jsonLdNewsArticle?: React.ReactNode;
|
|
24
|
+
meta?: React.ReactNode;
|
|
25
|
+
defaultPreload: React.ReactNode;
|
|
26
|
+
preload?: React.ReactNode;
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
envVariables?: import('../../types/EnvVariablesType').EnvVariablesType | undefined;
|
|
29
|
+
novaHost?: string | undefined;
|
|
30
|
+
brandId?: string | undefined;
|
|
31
|
+
goomHost?: string | undefined;
|
|
32
|
+
imgHost?: string | undefined;
|
|
33
|
+
staticHost?: string | undefined;
|
|
34
|
+
pageMetaData?: import('../../templates').PageMetaDataType | undefined;
|
|
35
|
+
customPrint?: boolean | undefined;
|
|
36
|
+
backgroundPageColor?: import('@20minutes/hela').ColorType | undefined;
|
|
37
|
+
hasTopSentinel?: boolean | undefined;
|
|
38
|
+
};
|
|
39
|
+
header: React.ReactNode;
|
|
40
|
+
headerMini?: React.ReactNode;
|
|
41
|
+
menu: React.ReactNode;
|
|
42
|
+
overviewBar?: React.ReactNode;
|
|
43
|
+
adTopPage?: React.ReactNode;
|
|
44
|
+
children: React.ReactNode;
|
|
45
|
+
footer: React.ReactNode;
|
|
46
|
+
toolbar?: React.ReactNode;
|
|
47
|
+
backgroundPageColor?: import('@20minutes/hela').ColorType | undefined;
|
|
48
|
+
hasArch?: boolean | undefined;
|
|
49
|
+
hasTopSentinel?: boolean | undefined;
|
|
50
|
+
enableScrollToFeed?: boolean | undefined;
|
|
51
|
+
};
|
|
52
|
+
parameters: {
|
|
53
|
+
layout: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const CguMobile: Story;
|
|
59
|
+
export declare const CguDesktop: Story;
|
|
60
|
+
export declare const PrivacyMobile: Story;
|
|
61
|
+
export declare const PrivacyDesktop: Story;
|
|
62
|
+
export declare const LegalMentionsMobile: Story;
|
|
63
|
+
export declare const LegalMentionsDesktop: Story;
|
|
64
|
+
export declare const CookiesMobile: Story;
|
|
65
|
+
export declare const CookiesDesktop: Story;
|
|
66
|
+
export declare const ModerationMobile: Story;
|
|
67
|
+
export declare const ModerationDesktop: Story;
|
|
68
|
+
export declare const AccessibilityMobile: Story;
|
|
69
|
+
export declare const AccessibilityDesktop: Story;
|
|
70
|
+
export declare const AccessibilityAndroidMobile: Story;
|
|
71
|
+
export declare const AccessibilityAndroidDesktop: Story;
|
|
72
|
+
export declare const AccessibilityIOSMobile: Story;
|
|
73
|
+
export declare const AccessibilityIOSDesktop: Story;
|
|
74
|
+
export declare const AccessibilityMemberMobile: Story;
|
|
75
|
+
export declare const AccessibilityMemberDesktop: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LegalPage';
|
|
@@ -21,6 +21,7 @@ export * from './La21ePage';
|
|
|
21
21
|
export * from './LegalNoticeDepartmentPage';
|
|
22
22
|
export * from './LegalNoticeHomePage';
|
|
23
23
|
export * from './LegalNoticePage';
|
|
24
|
+
export * from './LegalPage';
|
|
24
25
|
export * from './LivePage';
|
|
25
26
|
export * from './MobileAppsPage';
|
|
26
27
|
export * from './MostCommentedPage';
|
|
@@ -182,9 +182,17 @@ export declare const enum ComponentNameLa21e {
|
|
|
182
182
|
LA21E_META = "la21e/meta",
|
|
183
183
|
LA21E_CARDS_LIST = "la21e/cards-list"
|
|
184
184
|
}
|
|
185
|
-
export declare const enum
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
export declare const enum ComponentNameLegal {
|
|
186
|
+
LEGAL_CGU = "legal/cgu",
|
|
187
|
+
LEGAL_PRIVACY = "legal/privacy",
|
|
188
|
+
LEGAL_MENTIONS = "legal/mentions",
|
|
189
|
+
LEGAL_COOKIES = "legal/cookies",
|
|
190
|
+
LEGAL_MODERATION = "legal/moderation",
|
|
191
|
+
LEGAL_ACCESSIBILITY = "legal/accessibility",
|
|
192
|
+
LEGAL_ACCESSIBILITY_IOS = "legal/accessibility-ios",
|
|
193
|
+
LEGAL_ACCESSIBILITY_ANDROID = "legal/accessibility-android",
|
|
194
|
+
LEGAL_ACCESSIBILITY_MEMBER = "legal/accessibility-member",
|
|
195
|
+
LEGAL_META = "legal/meta"
|
|
188
196
|
}
|
|
189
197
|
export declare const enum ComponentNameLegalNotice {
|
|
190
198
|
LEGAL_NOTICE_JSON_LD_BREADCRUMB = "legal-notice/json-ld-breadcrumb",
|
|
@@ -313,6 +321,10 @@ export declare const enum ComponentNameSport {
|
|
|
313
321
|
SPORT_META = "sport/meta",
|
|
314
322
|
SPORT_SIDEBAR = "sport/sidebar"
|
|
315
323
|
}
|
|
324
|
+
export declare const enum ComponentNameStatic {
|
|
325
|
+
STATIC_CONTENT = "static/content",
|
|
326
|
+
STATIC_META = "static/meta"
|
|
327
|
+
}
|
|
316
328
|
export declare const enum ComponentNameStory {
|
|
317
329
|
STORY_JSON_LD_NEWS_ARTICLE = "story/json-ld-news-article",
|
|
318
330
|
STORY_PRELOAD = "story/preload",
|
|
@@ -389,7 +401,7 @@ export declare const enum ComponentNameWhyCreateAccount {
|
|
|
389
401
|
WHY_CREATE_ACCOUNT_HEADER_PAGE = "why-create-account/header-page",
|
|
390
402
|
WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB = "why-create-account/json-ld-breadcrumb"
|
|
391
403
|
}
|
|
392
|
-
export interface ComponentConfig<TComponentName = ComponentNameAdIframe | ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostShared | ComponentNameMovies | ComponentNameNews | ComponentNameQuiz | ComponentNameRewind | ComponentNameRubric | ComponentNameSearch | ComponentNameService | ComponentNameShoppingGuide | ComponentNameSitemap | ComponentNameSlideshow | ComponentNameSport | ComponentNameStatic | ComponentNameStory | ComponentNameTag | ComponentNameTraffic | ComponentNameTvHome | ComponentNameTvLive | ComponentNameTvMostRecent | ComponentNameTvMostViewed | ComponentNameTvVideo | ComponentNameTvShow | ComponentNameTvShows | ComponentNameUtiq | ComponentNameWeather | ComponentNameWhyCreateAccount, TComponent = React.FC<any>> {
|
|
404
|
+
export interface ComponentConfig<TComponentName = ComponentNameAdIframe | ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegal | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostShared | ComponentNameMovies | ComponentNameNews | ComponentNameQuiz | ComponentNameRewind | ComponentNameRubric | ComponentNameSearch | ComponentNameService | ComponentNameShoppingGuide | ComponentNameSitemap | ComponentNameSlideshow | ComponentNameSport | ComponentNameStatic | ComponentNameStory | ComponentNameTag | ComponentNameTraffic | ComponentNameTvHome | ComponentNameTvLive | ComponentNameTvMostRecent | ComponentNameTvMostViewed | ComponentNameTvVideo | ComponentNameTvShow | ComponentNameTvShows | ComponentNameUtiq | ComponentNameWeather | ComponentNameWhyCreateAccount, TComponent = React.FC<any>> {
|
|
393
405
|
componentName: TComponentName;
|
|
394
406
|
component: TComponent;
|
|
395
407
|
expiration?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdIframePage, AdIframePageProps, ArchiveByDayPage, ArchiveByDayPageProps, ArchiveByYearPage, ArchiveByYearPageProps, ArticlePage, ArticlePageProps, ContactPage, ContactPageProps, DirectPage, DirectPageProps, ElectionsHomePage, ElectionsHomePageProps, ElectionsPage, ElectionsPageProps, ErrorPage, ErrorPageProps, GameAppPage, GameAppPageProps, GameHomePage, GameHomePageProps, GamePage, GamePageProps, HomePage, HomePageProps, HoroscopeHomePage, HoroscopeHomePageProps, HoroscopePage, HoroscopePageProps, JobDetailsPage, JobDetailsPageProps, JobsPage, JobsPageProps, JournalistPage, JournalistPageProps, La21ePage, La21ePageProps, LegalNoticeDepartmentPage, LegalNoticeDepartmentPageProps, LegalNoticeHomePage, LegalNoticeHomePageProps, LegalNoticePage, LegalNoticePageProps, LivePage, LivePageProps, MobileAppsPage, MobileAppsPageProps, MostCommentedPage, MostCommentedPageProps, MostReadPage, MostReadPageProps, MostSharedPage, MostSharedPageProps, MoviesPage, MoviesPageProps, NewsPage, NewsPageProps, PartnerPage, QuizPage, QuizPageProps, RewindPage, RewindPageProps, SearchPage, SearchPageProps, ServicePage, ServicePageProps, ShoppingGuidePage, ShoppingGuidePageProps, SitemapPage, SitemapPageProps, SlideshowPage, SlideshowPageProps, SportPage, SportPageProps, StaticPage, StaticPageProps, TagPage, TagPageProps, TrafficPage, TrafficPageProps, TvHomePage, TvHomePageProps, TvLivePage, TvLivePageProps, TvMostRecentPage, TvMostRecentPageProps, TvMostViewedPage, TvMostViewedPageProps, TvShowPage, TvShowPageProps, TvShowsPage, TvShowsPageProps, UtiqPage, UtiqPageProps, WeatherPage, WeatherPageProps, WhyCreateAccountPage, WhyCreateAccountPageProps } from '../pages';
|
|
1
|
+
import { AdIframePage, AdIframePageProps, ArchiveByDayPage, ArchiveByDayPageProps, ArchiveByYearPage, ArchiveByYearPageProps, ArticlePage, ArticlePageProps, ContactPage, ContactPageProps, DirectPage, DirectPageProps, ElectionsHomePage, ElectionsHomePageProps, ElectionsPage, ElectionsPageProps, ErrorPage, ErrorPageProps, GameAppPage, GameAppPageProps, GameHomePage, GameHomePageProps, GamePage, GamePageProps, HomePage, HomePageProps, HoroscopeHomePage, HoroscopeHomePageProps, HoroscopePage, HoroscopePageProps, JobDetailsPage, JobDetailsPageProps, JobsPage, JobsPageProps, JournalistPage, JournalistPageProps, La21ePage, La21ePageProps, LegalNoticeDepartmentPage, LegalNoticeDepartmentPageProps, LegalNoticeHomePage, LegalNoticeHomePageProps, LegalNoticePage, LegalNoticePageProps, LegalPage, LegalPageProps, LivePage, LivePageProps, MobileAppsPage, MobileAppsPageProps, MostCommentedPage, MostCommentedPageProps, MostReadPage, MostReadPageProps, MostSharedPage, MostSharedPageProps, MoviesPage, MoviesPageProps, NewsPage, NewsPageProps, PartnerPage, QuizPage, QuizPageProps, RewindPage, RewindPageProps, SearchPage, SearchPageProps, ServicePage, ServicePageProps, ShoppingGuidePage, ShoppingGuidePageProps, SitemapPage, SitemapPageProps, SlideshowPage, SlideshowPageProps, SportPage, SportPageProps, StaticPage, StaticPageProps, TagPage, TagPageProps, TrafficPage, TrafficPageProps, TvHomePage, TvHomePageProps, TvLivePage, TvLivePageProps, TvMostRecentPage, TvMostRecentPageProps, TvMostViewedPage, TvMostViewedPageProps, TvShowPage, TvShowPageProps, TvShowsPage, TvShowsPageProps, UtiqPage, UtiqPageProps, WeatherPage, WeatherPageProps, WhyCreateAccountPage, WhyCreateAccountPageProps } from '../pages';
|
|
2
2
|
import { TvVideoPage, TvVideoPageProps } from '../pages/TvVideoPage';
|
|
3
3
|
import { PageTemplateProps } from '../templates';
|
|
4
|
-
import { ComponentNameAdIframe, ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead, ComponentNameMostShared, ComponentNameMovies, ComponentNameNews, ComponentNameQuiz, ComponentNameRewind, ComponentNameRubric, ComponentNameSearch, ComponentNameService, ComponentNameShoppingGuide, ComponentNameSitemap, ComponentNameSlideshow, ComponentNameSport, ComponentNameStatic, ComponentNameStory, ComponentNameTag, ComponentNameTraffic, ComponentNameTvHome, ComponentNameTvLive, ComponentNameTvMostRecent, ComponentNameTvMostViewed, ComponentNameTvShow, ComponentNameTvShows, ComponentNameTvVideo, ComponentNameUtiq, ComponentNameWeather, ComponentNameWhyCreateAccount } from './ComponentConfig';
|
|
4
|
+
import { ComponentNameAdIframe, ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegal, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead, ComponentNameMostShared, ComponentNameMovies, ComponentNameNews, ComponentNameQuiz, ComponentNameRewind, ComponentNameRubric, ComponentNameSearch, ComponentNameService, ComponentNameShoppingGuide, ComponentNameSitemap, ComponentNameSlideshow, ComponentNameSport, ComponentNameStatic, ComponentNameStory, ComponentNameTag, ComponentNameTraffic, ComponentNameTvHome, ComponentNameTvLive, ComponentNameTvMostRecent, ComponentNameTvMostViewed, ComponentNameTvShow, ComponentNameTvShows, ComponentNameTvVideo, ComponentNameUtiq, ComponentNameWeather, ComponentNameWhyCreateAccount } from './ComponentConfig';
|
|
5
5
|
export interface PageComponentConfig<TComponentName = string, TPropName = string> {
|
|
6
6
|
name: TComponentName;
|
|
7
7
|
propName: TPropName;
|
|
@@ -34,7 +34,7 @@ export type JournalistPageConfig = PageConfig<'journalist', typeof JournalistPag
|
|
|
34
34
|
export type JobDetailsPageConfig = PageConfig<'jobDetails', typeof JobDetailsPage, ComponentNameCommon | ComponentNameJobs, keyof JobDetailsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
35
35
|
export type JobsPageConfig = PageConfig<'jobs', typeof JobsPage, ComponentNameCommon | ComponentNameJobs, keyof JobsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
36
36
|
export type La21ePageConfig = PageConfig<'la21e', typeof La21ePage, ComponentNameCommon | ComponentNameRubric | ComponentNameLa21e, keyof La21ePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
37
|
-
export type
|
|
37
|
+
export type LegalPageConfig = PageConfig<'legal', typeof LegalPage, ComponentNameCommon | ComponentNameLegal, keyof LegalPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
38
38
|
export type LegalNoticeDepartmentPageConfig = PageConfig<'legalNoticeDepartment', typeof LegalNoticeDepartmentPage, ComponentNameCommon | ComponentNameLegalNotice, keyof LegalNoticeDepartmentPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
39
39
|
export type LegalNoticeHomePageConfig = PageConfig<'legalNoticeHome', typeof LegalNoticeHomePage, ComponentNameCommon | ComponentNameLegalNotice, keyof LegalNoticeHomePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
40
40
|
export type LegalNoticeDetailPageConfig = PageConfig<'legalNotice', typeof LegalNoticePage, ComponentNameCommon | ComponentNameLegalNotice, keyof LegalNoticePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
@@ -54,6 +54,7 @@ export type ShoppingGuidePageConfig = PageConfig<'shoppingGuide', typeof Shoppin
|
|
|
54
54
|
export type SitemapPageConfig = PageConfig<'sitemap', typeof SitemapPage, ComponentNameCommon | ComponentNameSitemap, keyof SitemapPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
55
55
|
export type SlideshowPageConfig = PageConfig<'story', typeof SlideshowPage, ComponentNameCommon | ComponentNameRubric | ComponentNameStory | ComponentNameContent | ComponentNameSlideshow, keyof SlideshowPageProps | 'meta' | 'jsonLdBreadcrumb' | 'jsonLdClaimReview' | 'jsonLdNewsArticle' | 'defaultPreload' | 'preload'>;
|
|
56
56
|
export type SportPageConfig = PageConfig<'sport', typeof SportPage, ComponentNameCommon | ComponentNameRubric | ComponentNameSport, keyof SportPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
57
|
+
export type StaticPageConfig = PageConfig<'static', typeof StaticPage, ComponentNameCommon | ComponentNameStatic, keyof StaticPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
57
58
|
export type TagPageConfig = PageConfig<'tag', typeof TagPage, ComponentNameCommon | ComponentNameTag, keyof TagPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload' | 'preload'>;
|
|
58
59
|
export type TrafficPageConfig = PageConfig<'traffic', typeof TrafficPage, ComponentNameCommon | ComponentNameRubric | ComponentNameTraffic, keyof TrafficPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
59
60
|
export type TvHomePageConfig = PageConfig<'tvHome', typeof TvHomePage, ComponentNameCommon | ComponentNameTvHome, keyof TvHomePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
@@ -90,6 +91,7 @@ export type PageConfigs = [
|
|
|
90
91
|
LegalNoticeDepartmentPageConfig,
|
|
91
92
|
LegalNoticeHomePageConfig,
|
|
92
93
|
LegalNoticeDetailPageConfig,
|
|
94
|
+
LegalPageConfig,
|
|
93
95
|
LivePageConfig,
|
|
94
96
|
MobileAppsPageConfig,
|
|
95
97
|
MostCommentedPageConfig,
|
|
@@ -3681,6 +3681,7 @@ export type TCreateUserBackBrandType = {
|
|
|
3681
3681
|
brand_id: Scalars['ID']['input'];
|
|
3682
3682
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
3683
3683
|
group_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
3684
|
+
is_default?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3684
3685
|
service_id?: InputMaybe<Scalars['ID']['input']>;
|
|
3685
3686
|
user_back_id: Scalars['ID']['input'];
|
|
3686
3687
|
};
|
|
@@ -16460,6 +16461,7 @@ export type TUpdateUserBackBrandType = {
|
|
|
16460
16461
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
16461
16462
|
group_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
16462
16463
|
id: Scalars['ID']['input'];
|
|
16464
|
+
is_default?: InputMaybe<Scalars['Boolean']['input']>;
|
|
16463
16465
|
last_activity_at?: InputMaybe<Scalars['DateTime']['input']>;
|
|
16464
16466
|
last_login_at?: InputMaybe<Scalars['DateTime']['input']>;
|
|
16465
16467
|
service_id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -16563,6 +16565,7 @@ export type TUserBack = TNode & TTimestampable & {
|
|
|
16563
16565
|
author_page?: Maybe<Scalars['String']['output']>;
|
|
16564
16566
|
avatar?: Maybe<Scalars['String']['output']>;
|
|
16565
16567
|
brandRelation?: Maybe<TUserBackBrandSingleConnection>;
|
|
16568
|
+
brands?: Maybe<TUserBackBrandListConnection>;
|
|
16566
16569
|
contentOrigin?: Maybe<TContentOriginSingleConnection>;
|
|
16567
16570
|
contentSource?: Maybe<TContentSourceSingleConnection>;
|
|
16568
16571
|
created_at?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -16597,6 +16600,11 @@ export type TUserBack = TNode & TTimestampable & {
|
|
|
16597
16600
|
export type TUserBackBrandRelationArgs = {
|
|
16598
16601
|
brand_id: Scalars['ID']['input'];
|
|
16599
16602
|
};
|
|
16603
|
+
export type TUserBackBrandsArgs = {
|
|
16604
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
16605
|
+
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
16606
|
+
orderBy?: InputMaybe<TUserBackBrandOrder>;
|
|
16607
|
+
};
|
|
16600
16608
|
export type TUserBackProofreadablePublishableContentsArgs = {
|
|
16601
16609
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
16602
16610
|
exclude_model?: InputMaybe<Array<InputMaybe<EditorialContentModelType>>>;
|
|
@@ -16629,6 +16637,7 @@ export type TUserBackBrand = TNode & TTimestampable & {
|
|
|
16629
16637
|
group_ids?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
|
|
16630
16638
|
groups?: Maybe<TGroupListConnection>;
|
|
16631
16639
|
id: Scalars['ID']['output'];
|
|
16640
|
+
is_default?: Maybe<Scalars['Boolean']['output']>;
|
|
16632
16641
|
last_activity_at?: Maybe<Scalars['DateTime']['output']>;
|
|
16633
16642
|
last_login_at?: Maybe<Scalars['DateTime']['output']>;
|
|
16634
16643
|
service?: Maybe<TServiceSingleConnection>;
|
|
@@ -16645,12 +16654,33 @@ export type TUserBackBrandGroupsArgs = {
|
|
|
16645
16654
|
first?: InputMaybe<Scalars['FirstElement']['input']>;
|
|
16646
16655
|
orderBy?: InputMaybe<TGroupOrder>;
|
|
16647
16656
|
};
|
|
16657
|
+
export type TUserBackBrandEdge = {
|
|
16658
|
+
__typename?: 'UserBackBrandEdge';
|
|
16659
|
+
cursor: Scalars['String']['output'];
|
|
16660
|
+
node?: Maybe<TUserBackBrand>;
|
|
16661
|
+
};
|
|
16648
16662
|
export type TUserBackBrandIdentifierInputType = {
|
|
16649
16663
|
brand_id: Scalars['ID']['input'];
|
|
16650
16664
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
16651
16665
|
id: Scalars['ID']['input'];
|
|
16652
16666
|
user_back_id: Scalars['ID']['input'];
|
|
16653
16667
|
};
|
|
16668
|
+
export type TUserBackBrandListConnection = {
|
|
16669
|
+
__typename?: 'UserBackBrandListConnection';
|
|
16670
|
+
edges?: Maybe<Array<Maybe<TUserBackBrandEdge>>>;
|
|
16671
|
+
pageInfo: TPageInfo;
|
|
16672
|
+
resolveInfo?: Maybe<TResolveInfo>;
|
|
16673
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
16674
|
+
};
|
|
16675
|
+
export type TUserBackBrandOrder = {
|
|
16676
|
+
direction?: InputMaybe<OrderDirection>;
|
|
16677
|
+
field?: InputMaybe<UserBackBrandOrderField>;
|
|
16678
|
+
};
|
|
16679
|
+
export declare enum UserBackBrandOrderField {
|
|
16680
|
+
CREATED_AT = "CREATED_AT",
|
|
16681
|
+
EDITED_AT = "EDITED_AT",
|
|
16682
|
+
LAST_LOGIN_AT = "LAST_LOGIN_AT"
|
|
16683
|
+
}
|
|
16654
16684
|
export type TUserBackBrandPayload = {
|
|
16655
16685
|
__typename?: 'UserBackBrandPayload';
|
|
16656
16686
|
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
@@ -18903,12 +18933,12 @@ export type TSignatureInlineSubtypeInput = {
|
|
|
18903
18933
|
type?: InputMaybe<SignatureSubtypeType>;
|
|
18904
18934
|
};
|
|
18905
18935
|
export type TSigninGoogleUserBackType = {
|
|
18906
|
-
brand_id
|
|
18936
|
+
brand_id?: InputMaybe<Scalars['ID']['input']>;
|
|
18907
18937
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
18908
18938
|
token: Scalars['String']['input'];
|
|
18909
18939
|
};
|
|
18910
18940
|
export type TSigninUserBackType = {
|
|
18911
|
-
brand_id
|
|
18941
|
+
brand_id?: InputMaybe<Scalars['ID']['input']>;
|
|
18912
18942
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
18913
18943
|
token: Scalars['String']['input'];
|
|
18914
18944
|
};
|
|
@@ -18972,13 +19002,13 @@ export type TUnsaveArticleUserFrontType = {
|
|
|
18972
19002
|
export type TUnsubscribeAllNewsletterUserFrontType = {
|
|
18973
19003
|
brand_id: Scalars['ID']['input'];
|
|
18974
19004
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
18975
|
-
|
|
19005
|
+
newsletter_token?: InputMaybe<Scalars['String']['input']>;
|
|
18976
19006
|
};
|
|
18977
19007
|
export type TUnsubscribeNewsletterUserFrontType = {
|
|
18978
19008
|
brand_id: Scalars['ID']['input'];
|
|
18979
19009
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
18980
19010
|
newsletter_slug: Newsletter;
|
|
18981
|
-
|
|
19011
|
+
newsletter_token?: InputMaybe<Scalars['String']['input']>;
|
|
18982
19012
|
};
|
|
18983
19013
|
export type TUnsubscribeUserFrontPaidAccountType = {
|
|
18984
19014
|
brand_id: Scalars['ID']['input'];
|