@20minutes/tyr 2.18.0 → 2.19.1
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/tvshowsPage-desktop-critical.css +1 -0
- package/dist/css/tvshowsPage-desktop-no-critical.css +1 -0
- package/dist/css/tvshowsPage-mobile-critical.css +1 -0
- package/dist/css/tvshowsPage-mobile-no-critical.css +1 -0
- package/dist/index.es.js +12062 -11852
- package/dist/index.umd.js +92 -92
- package/dist/js/ads.min.js +2 -2
- package/dist/js/cmp.min.js +2 -2
- package/dist/js/main.min.js +8 -8
- package/dist/src/assets/datalayer/types/DatalayerInfoType.d.ts +22 -21
- package/dist/src/assets/main/digiteka.d.ts +2 -0
- package/dist/src/components/molecules/ImagesGrid/ImagesGrid.d.ts +10 -0
- package/dist/src/components/molecules/ImagesGrid/ImagesGrid.stories.d.ts +16 -0
- package/dist/src/components/molecules/ImagesGrid/index.d.ts +1 -0
- package/dist/src/components/molecules/index.d.ts +2 -1
- package/dist/src/components/organisms/LivePage/LivePost/LivePost.d.ts +1 -0
- package/dist/src/components/organisms/LivePage/LivePostsThread/LivePostsThread.d.ts +2 -0
- package/dist/src/components/organisms/LivePage/LivePostsThread/LivePostsThread.stories.d.ts +5 -0
- package/dist/src/config/componentConfigs/componentTvShowsConfigs.d.ts +2 -0
- package/dist/src/config/pageConfigs/tvShowsPageConfig.d.ts +2 -0
- package/dist/src/managers/ArticlePageManager.d.ts +2 -0
- package/dist/src/pages/TvShowsPage/TvShowsPage.d.ts +7 -0
- package/dist/src/pages/TvShowsPage/TvShowsPage.stories.d.ts +62 -0
- package/dist/src/pages/TvShowsPage/index.d.ts +1 -0
- package/dist/src/pages/index.d.ts +1 -0
- package/dist/src/types/ComponentConfig.d.ts +7 -1
- package/dist/src/types/PageConfig.d.ts +5 -3
- package/dist/src/types/graphql.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
export declare enum PageType {
|
|
2
|
+
ARCHIVE_BY_DAY = "archivebyday",
|
|
3
|
+
ARCHIVE_BY_YEAR = "archivebyyear",
|
|
2
4
|
ARTICLE = "article",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TAG = "tag",
|
|
6
|
-
JOB_DETAILS = "jobdetails",
|
|
7
|
-
JOBS = "jobs",
|
|
8
|
-
HOROSCOPE_HOME = "horoscopehome",
|
|
9
|
-
HOROSCOPE = "horoscope",
|
|
10
|
-
TRAFFIC = "traffic",
|
|
11
|
-
WEATHER = "weather",
|
|
12
|
-
ELECTIONSHOME = "electionshome",
|
|
5
|
+
CONTACT = "contact",
|
|
6
|
+
DIRECT = "direct",
|
|
13
7
|
ELECTIONS = "elections",
|
|
8
|
+
ELECTIONSHOME = "electionshome",
|
|
14
9
|
GAME = "game",
|
|
10
|
+
GAME_APP = "gameapp",
|
|
15
11
|
GAMEHOME = "gamehome",
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
HOME = "home",
|
|
13
|
+
HOROSCOPE = "horoscope",
|
|
14
|
+
HOROSCOPE_HOME = "horoscopehome",
|
|
15
|
+
JOB_DETAILS = "jobdetails",
|
|
16
|
+
JOBS = "jobs",
|
|
19
17
|
JOURNALIST = "journalist",
|
|
18
|
+
LA21E = "la21e",
|
|
20
19
|
LEGAL = "legal",
|
|
21
20
|
LEGALNOTICE = "legalnotice",
|
|
22
21
|
LEGALNOTICEHOME = "legalnoticehome",
|
|
23
22
|
LEGALNOTICEDEPARTMENT = "legalnoticedepartment",
|
|
24
|
-
|
|
25
|
-
ARCHIVE_BY_DAY = "archivebyday",
|
|
26
|
-
ARCHIVE_BY_YEAR = "archivebyyear",
|
|
27
|
-
CONTACT = "contact",
|
|
28
|
-
DIRECT = "direct",
|
|
29
|
-
HOME = "home",
|
|
30
|
-
LA21E = "la21e",
|
|
23
|
+
LIVE = "live",
|
|
31
24
|
MOBILE_APPS = "mobileapps",
|
|
32
25
|
MOST_COMMENTED = "mostcommented",
|
|
33
26
|
MOST_READ = "mostread",
|
|
34
27
|
MOST_SHARED = "mostshared",
|
|
35
28
|
MOST_VIEWED = "mostviewed",
|
|
29
|
+
MOVIES = "movies",
|
|
30
|
+
NEWS = "news",
|
|
36
31
|
PARTNER = "partner",
|
|
37
32
|
PROGRAM = "program",
|
|
38
33
|
SEARCH = "search",
|
|
39
34
|
SECTION = "section",
|
|
40
35
|
SERVICE = "service",
|
|
36
|
+
SITEMAP = "sitemap",
|
|
37
|
+
SPORT = "sport",
|
|
38
|
+
STORY = "story",
|
|
39
|
+
TAG = "tag",
|
|
40
|
+
TRAFFIC = "traffic",
|
|
41
41
|
TV_HOME_VIDEOS = "tvhomevideos",
|
|
42
42
|
VIDEO = "video",
|
|
43
|
-
VIDEOS = "videos"
|
|
43
|
+
VIDEOS = "videos",
|
|
44
|
+
WEATHER = "weather"
|
|
44
45
|
}
|
|
45
46
|
export interface DatalayerInfoType {
|
|
46
47
|
breadcrumb?: string[];
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HTMLElement } from 'node-html-parser';
|
|
2
|
+
export declare const getDigitekaIframes: (root?: HTMLElement | Document) => HTMLElement[] | NodeListOf<HTMLIFrameElement>;
|
|
1
3
|
export declare const getDigitekaSmartPlayerInlineScript: (options?: {
|
|
2
4
|
id: string;
|
|
3
5
|
zone: number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GridProps } from '@20minutes/hela';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ImagesGridProps extends GridProps {
|
|
4
|
+
images?: {
|
|
5
|
+
cover: string;
|
|
6
|
+
title: string;
|
|
7
|
+
link: string;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
export declare const ImagesGrid: React.FC<ImagesGridProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./ImagesGrid').ImagesGridProps>;
|
|
5
|
+
args: {
|
|
6
|
+
images: {
|
|
7
|
+
cover: string;
|
|
8
|
+
title: string;
|
|
9
|
+
link: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Mobile: Story;
|
|
16
|
+
export declare const Desktop: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ImagesGrid';
|
|
@@ -7,12 +7,13 @@ export * from './Content';
|
|
|
7
7
|
export * from './BulletedListMap';
|
|
8
8
|
export * from './EntertainmentBlock';
|
|
9
9
|
export * from './Faq';
|
|
10
|
+
export * from './FaqList';
|
|
10
11
|
export * from './GameIframe';
|
|
11
12
|
export * from './GamesAccordion';
|
|
12
13
|
export * from './HeaderPage';
|
|
13
14
|
export * from './HoroscopeHomepageContent';
|
|
15
|
+
export * from './ImagesGrid';
|
|
14
16
|
export * from './InfoBanner';
|
|
15
|
-
export * from './FaqList';
|
|
16
17
|
export * from './InfoLine';
|
|
17
18
|
export * from './LastArticlesBlock';
|
|
18
19
|
export * from './LegalNoticeCardsList';
|
|
@@ -8,6 +8,7 @@ export interface LivePostsThreadProps extends BoxProps {
|
|
|
8
8
|
title: LiveTitleProps;
|
|
9
9
|
content?: RawDraftContentState;
|
|
10
10
|
talk?: LiveTalkProps;
|
|
11
|
+
cursor: string | null;
|
|
11
12
|
}[];
|
|
12
13
|
layout: LayoutType;
|
|
13
14
|
pageEndpoint: string;
|
|
@@ -26,5 +27,6 @@ export interface LivePostsThreadProps extends BoxProps {
|
|
|
26
27
|
latestPostId: number;
|
|
27
28
|
};
|
|
28
29
|
disableAds?: boolean;
|
|
30
|
+
enableAnchoring?: boolean;
|
|
29
31
|
}
|
|
30
32
|
export declare const LivePostsThread: React.FC<LivePostsThreadProps>;
|
|
@@ -11,6 +11,7 @@ declare const meta: {
|
|
|
11
11
|
header: string;
|
|
12
12
|
title: string;
|
|
13
13
|
};
|
|
14
|
+
cursor: null;
|
|
14
15
|
talk?: undefined;
|
|
15
16
|
content?: undefined;
|
|
16
17
|
} | {
|
|
@@ -25,6 +26,7 @@ declare const meta: {
|
|
|
25
26
|
author: string;
|
|
26
27
|
response: string;
|
|
27
28
|
};
|
|
29
|
+
cursor: null;
|
|
28
30
|
content?: undefined;
|
|
29
31
|
} | {
|
|
30
32
|
id: number;
|
|
@@ -45,6 +47,7 @@ declare const meta: {
|
|
|
45
47
|
entityRanges: never[];
|
|
46
48
|
}[];
|
|
47
49
|
};
|
|
50
|
+
cursor: null;
|
|
48
51
|
talk?: undefined;
|
|
49
52
|
} | {
|
|
50
53
|
id: number;
|
|
@@ -65,6 +68,7 @@ declare const meta: {
|
|
|
65
68
|
entityRanges: never[];
|
|
66
69
|
}[];
|
|
67
70
|
};
|
|
71
|
+
cursor: null;
|
|
68
72
|
talk?: undefined;
|
|
69
73
|
} | {
|
|
70
74
|
id: number;
|
|
@@ -85,6 +89,7 @@ declare const meta: {
|
|
|
85
89
|
entityRanges: never[];
|
|
86
90
|
}[];
|
|
87
91
|
};
|
|
92
|
+
cursor: null;
|
|
88
93
|
talk?: undefined;
|
|
89
94
|
})[];
|
|
90
95
|
pageEndpoint: string;
|
|
@@ -20,5 +20,7 @@ export declare class ArticlePageManager extends PageManager<ArticlePageProps, Se
|
|
|
20
20
|
private insertInreadDesktop;
|
|
21
21
|
private insertInreadMobile;
|
|
22
22
|
static insertHeadliner(content: React.ReactNode): React.ReactElement;
|
|
23
|
+
static transformContentVideos(content: React.ReactNode): React.ReactElement;
|
|
24
|
+
static transformCover(cover: React.ReactNode): React.ReactNode;
|
|
23
25
|
}
|
|
24
26
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageTemplateProps } from '../../templates';
|
|
3
|
+
export interface TvShowsPageProps extends PageTemplateProps {
|
|
4
|
+
breadcrumb: React.ReactNode;
|
|
5
|
+
programs: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const TvShowsPage: React.FC<TvShowsPageProps>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { BreadcrumbProps, HeaderProps, LayoutType } from '@20minutes/hela';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { ImagesGridProps, MetaProps } from '../../components';
|
|
4
|
+
import { StoryObj } from '@storybook/react';
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: React.FC<import('..').TvShowsPageProps>;
|
|
8
|
+
args: {
|
|
9
|
+
htmlTemplateProps: {
|
|
10
|
+
meta: React.FunctionComponentElement<MetaProps>;
|
|
11
|
+
layout: LayoutType;
|
|
12
|
+
stylesheets?: {
|
|
13
|
+
name: string;
|
|
14
|
+
url: string;
|
|
15
|
+
isCritical?: boolean | undefined;
|
|
16
|
+
}[] | undefined;
|
|
17
|
+
inlineCss?: string | undefined;
|
|
18
|
+
firstPartyScripts: import('../..').FirstPartyScriptsType;
|
|
19
|
+
thirdPartiesConfig: import('../..').ThirdPartiesConfigType;
|
|
20
|
+
gtmNoScript?: string | undefined;
|
|
21
|
+
jsonLdBreadcrumb?: React.ReactNode;
|
|
22
|
+
jsonLdFaq?: React.ReactNode;
|
|
23
|
+
jsonLdClaimReview?: React.ReactNode;
|
|
24
|
+
jsonLdLiveBlogPosting?: React.ReactNode;
|
|
25
|
+
jsonLdNewsArticle?: React.ReactNode;
|
|
26
|
+
defaultPreload: React.ReactNode;
|
|
27
|
+
preload?: React.ReactNode;
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
envVariables?: import('../../types/EnvVariablesType').EnvVariablesType | undefined;
|
|
30
|
+
novaHost?: 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
|
+
};
|
|
38
|
+
header: React.FunctionComponentElement<HeaderProps>;
|
|
39
|
+
breadcrumb: React.FunctionComponentElement<BreadcrumbProps>;
|
|
40
|
+
programs: React.FunctionComponentElement<ImagesGridProps>;
|
|
41
|
+
headerMini?: React.ReactNode;
|
|
42
|
+
menu: React.ReactNode;
|
|
43
|
+
overviewBar?: React.ReactNode;
|
|
44
|
+
adTopPage?: React.ReactNode;
|
|
45
|
+
children: React.ReactNode;
|
|
46
|
+
footer: React.ReactNode;
|
|
47
|
+
toolbar?: React.ReactNode;
|
|
48
|
+
comment?: React.ReactNode;
|
|
49
|
+
backgroundPageColor?: import('@20minutes/hela').ColorType | undefined;
|
|
50
|
+
hasArch?: boolean | undefined;
|
|
51
|
+
};
|
|
52
|
+
parameters: {
|
|
53
|
+
layout: string;
|
|
54
|
+
backgrounds: {
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export default meta;
|
|
60
|
+
type Story = StoryObj<typeof meta>;
|
|
61
|
+
export declare const ShowsPageMobile: Story;
|
|
62
|
+
export declare const ShowsPageDesktop: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TvShowsPage';
|
|
@@ -43,6 +43,7 @@ export * from './TrafficPage';
|
|
|
43
43
|
export * from './TvHomeVideosPage';
|
|
44
44
|
export * from './TvLivePage';
|
|
45
45
|
export * from './TvShowPage';
|
|
46
|
+
export * from './TvShowsPage';
|
|
46
47
|
export * from './UtiqPage';
|
|
47
48
|
export * from './VideoPage';
|
|
48
49
|
export * from './VideosPage';
|
|
@@ -360,6 +360,12 @@ export declare const enum ComponentNameTvShow {
|
|
|
360
360
|
TV_SHOW_META = "tv-show/meta",
|
|
361
361
|
TV_SHOW_TOP_BLOCK = "tv-show/top-block"
|
|
362
362
|
}
|
|
363
|
+
export declare const enum ComponentNameTvShows {
|
|
364
|
+
TV_SHOWS_JSON_LD_BREADCRUMB = "tv-shows/json-ld-breadcrumb",
|
|
365
|
+
TV_SHOWS_META = "tv-shows/meta",
|
|
366
|
+
TV_SHOWS_BREADCRUMB = "tv-shows/breadcrumb",
|
|
367
|
+
TV_SHOWS_PROGRAMS = "tv-shows/programs"
|
|
368
|
+
}
|
|
363
369
|
export declare const enum ComponentNameUtiq {
|
|
364
370
|
UTIQ_BREADCRUMB = "utiq/breadcrumb",
|
|
365
371
|
UTIQ_HEADER_PAGE = "utiq/header-page",
|
|
@@ -388,7 +394,7 @@ export declare const enum ComponentNameWeather {
|
|
|
388
394
|
WEATHER_JSON_LD_BREADCRUMB = "weather/json-ld-breadcrumb",
|
|
389
395
|
WEATHER_META = "weather/meta"
|
|
390
396
|
}
|
|
391
|
-
export interface ComponentConfig<TComponentName = ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegal | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostRecentVideos | ComponentNameMostShared | ComponentNameMostViewed | ComponentNameMovies | ComponentNameNews | ComponentNameProgram | ComponentNameRubric | ComponentNameSearch | ComponentNameService | ComponentNameShoppingGuide | ComponentNameSitemap | ComponentNameSlideshow | ComponentNameSport | ComponentNameStory | ComponentNameTag | ComponentNameTraffic | ComponentNameTvHomeVideos | ComponentNameTvLive | ComponentNameTvVideo | ComponentNameTvShow | ComponentNameUtiq | ComponentNameVideo | ComponentNameVideos | ComponentNameWeather, TComponent = React.FC<any>> {
|
|
397
|
+
export interface ComponentConfig<TComponentName = ComponentNameArchives | ComponentNameArticle | ComponentNameCommon | ComponentNameContact | ComponentNameContent | ComponentNameDirect | ComponentNameElections | ComponentNameError | ComponentNameGame | ComponentNameHome | ComponentNameHoroscope | ComponentNameJobs | ComponentNameJournalist | ComponentNameLa21e | ComponentNameLegal | ComponentNameLegalNotice | ComponentNameLive | ComponentNameMobileApps | ComponentNameMostCommented | ComponentNameMostRead | ComponentNameMostRecentVideos | ComponentNameMostShared | ComponentNameMostViewed | ComponentNameMovies | ComponentNameNews | ComponentNameProgram | ComponentNameRubric | ComponentNameSearch | ComponentNameService | ComponentNameShoppingGuide | ComponentNameSitemap | ComponentNameSlideshow | ComponentNameSport | ComponentNameStory | ComponentNameTag | ComponentNameTraffic | ComponentNameTvHomeVideos | ComponentNameTvLive | ComponentNameTvVideo | ComponentNameTvShow | ComponentNameTvShows | ComponentNameUtiq | ComponentNameVideo | ComponentNameVideos | ComponentNameWeather, TComponent = React.FC<any>> {
|
|
392
398
|
componentName: TComponentName;
|
|
393
399
|
component: TComponent;
|
|
394
400
|
expiration?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { 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, MostRecentVideosPage, MostRecentVideosPageProps, MostSharedPage, MostSharedPageProps, MostViewedPage, MostViewedPageProps, MoviesPage, MoviesPageProps, NewsPage, NewsPageProps, PartnerPage, ProgramPage, ProgramPageProps, SearchPage, SearchPageProps, ServicePage, ServicePageProps, ShoppingGuidePage, ShoppingGuidePageProps, SitemapPage, SitemapPageProps, SlideshowPage, SlideshowPageProps, SportPage, SportPageProps, TagPage, TagPageProps, TrafficPage, TrafficPageProps, TvHomeVideosPage, TvHomeVideosPageProps, TvLivePage, TvLivePageProps, TvShowPage, TvShowPageProps, UtiqPage, UtiqPageProps, VideoPage, VideoPageProps, VideosPage, VideosPageProps, WeatherPage, WeatherPageProps } from '../pages';
|
|
1
|
+
import { 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, MostRecentVideosPage, MostRecentVideosPageProps, MostSharedPage, MostSharedPageProps, MostViewedPage, MostViewedPageProps, MoviesPage, MoviesPageProps, NewsPage, NewsPageProps, PartnerPage, ProgramPage, ProgramPageProps, SearchPage, SearchPageProps, ServicePage, ServicePageProps, ShoppingGuidePage, ShoppingGuidePageProps, SitemapPage, SitemapPageProps, SlideshowPage, SlideshowPageProps, SportPage, SportPageProps, TagPage, TagPageProps, TrafficPage, TrafficPageProps, TvHomeVideosPage, TvHomeVideosPageProps, TvLivePage, TvLivePageProps, TvShowPage, TvShowPageProps, TvShowsPage, TvShowsPageProps, UtiqPage, UtiqPageProps, VideoPage, VideoPageProps, VideosPage, VideosPageProps, WeatherPage, WeatherPageProps } from '../pages';
|
|
2
2
|
import { TvVideoPage, TvVideoPageProps } from '../pages/TvVideoPage';
|
|
3
3
|
import { PageTemplateProps } from '../templates';
|
|
4
|
-
import { ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegal, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead, ComponentNameMostRecentVideos, ComponentNameMostShared, ComponentNameMostViewed, ComponentNameMovies, ComponentNameNews, ComponentNameProgram, ComponentNameRubric, ComponentNameSearch, ComponentNameService, ComponentNameShoppingGuide, ComponentNameSitemap, ComponentNameSlideshow, ComponentNameSport, ComponentNameStory, ComponentNameTag, ComponentNameTraffic, ComponentNameTvHomeVideos, ComponentNameTvLive, ComponentNameTvShow, ComponentNameTvVideo, ComponentNameUtiq, ComponentNameVideo, ComponentNameVideos, ComponentNameWeather } from './ComponentConfig';
|
|
4
|
+
import { ComponentNameArchives, ComponentNameArticle, ComponentNameCommon, ComponentNameContact, ComponentNameContent, ComponentNameDirect, ComponentNameElections, ComponentNameError, ComponentNameGame, ComponentNameHome, ComponentNameHoroscope, ComponentNameJobs, ComponentNameJournalist, ComponentNameLa21e, ComponentNameLegal, ComponentNameLegalNotice, ComponentNameLive, ComponentNameMobileApps, ComponentNameMostCommented, ComponentNameMostRead, ComponentNameMostRecentVideos, ComponentNameMostShared, ComponentNameMostViewed, ComponentNameMovies, ComponentNameNews, ComponentNameProgram, ComponentNameRubric, ComponentNameSearch, ComponentNameService, ComponentNameShoppingGuide, ComponentNameSitemap, ComponentNameSlideshow, ComponentNameSport, ComponentNameStory, ComponentNameTag, ComponentNameTraffic, ComponentNameTvHomeVideos, ComponentNameTvLive, ComponentNameTvShow, ComponentNameTvShows, ComponentNameTvVideo, ComponentNameUtiq, ComponentNameVideo, ComponentNameVideos, ComponentNameWeather } from './ComponentConfig';
|
|
5
5
|
export interface PageComponentConfig<TComponentName = string, TPropName = string> {
|
|
6
6
|
name: TComponentName;
|
|
7
7
|
propName: TPropName;
|
|
@@ -58,8 +58,9 @@ export type TagPageConfig = PageConfig<'tag', typeof TagPage, ComponentNameCommo
|
|
|
58
58
|
export type TrafficPageConfig = PageConfig<'traffic', typeof TrafficPage, ComponentNameCommon | ComponentNameRubric | ComponentNameTraffic, keyof TrafficPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
59
59
|
export type TvHomeVideosPageConfig = PageConfig<'tvHomeVideos', typeof TvHomeVideosPage, ComponentNameCommon | ComponentNameTvHomeVideos, keyof TvHomeVideosPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
60
60
|
export type TvLivePageConfig = PageConfig<'tvLive', typeof TvLivePage, ComponentNameCommon | ComponentNameTvLive, keyof TvLivePageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
61
|
-
export type TvVideoPageConfig = PageConfig<'tvVideo', typeof TvVideoPage, ComponentNameCommon | ComponentNameTvVideo, keyof TvVideoPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
62
61
|
export type TvShowPageConfig = PageConfig<'tvShow', typeof TvShowPage, ComponentNameCommon | ComponentNameTvShow, keyof TvShowPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
62
|
+
export type TvShowsPageConfig = PageConfig<'tvShows', typeof TvShowsPage, ComponentNameCommon | ComponentNameTvShows, keyof TvShowsPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
63
|
+
export type TvVideoPageConfig = PageConfig<'tvVideo', typeof TvVideoPage, ComponentNameCommon | ComponentNameTvVideo, keyof TvVideoPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
63
64
|
export type UtiqPageConfig = PageConfig<'utiq', typeof UtiqPage, ComponentNameCommon | ComponentNameRubric | ComponentNameUtiq, keyof UtiqPageProps | 'meta' | 'jsonLdBreadcrumb' | 'defaultPreload'>;
|
|
64
65
|
export type VideoPageConfig = PageConfig<'page', typeof VideoPage, ComponentNameCommon | ComponentNameVideo, keyof VideoPageProps | 'meta' | 'jsonLdNewsArticle' | 'defaultPreload'>;
|
|
65
66
|
export type VideosPageConfig = PageConfig<'pages', typeof VideosPage, ComponentNameCommon | ComponentNameVideos, keyof VideosPageProps | 'meta' | 'defaultPreload'>;
|
|
@@ -110,6 +111,7 @@ export type PageConfigs = [
|
|
|
110
111
|
TvHomeVideosPageConfig,
|
|
111
112
|
TvLivePageConfig,
|
|
112
113
|
TvShowPageConfig,
|
|
114
|
+
TvShowsPageConfig,
|
|
113
115
|
TvVideoPageConfig,
|
|
114
116
|
UtiqPageConfig,
|
|
115
117
|
VideoPageConfig,
|
|
@@ -18703,6 +18703,7 @@ export type TGetLivePostsQuery = {
|
|
|
18703
18703
|
};
|
|
18704
18704
|
edges?: Array<{
|
|
18705
18705
|
__typename?: 'LivePostEdge';
|
|
18706
|
+
cursor: string;
|
|
18706
18707
|
node?: {
|
|
18707
18708
|
__typename?: 'LivePost';
|
|
18708
18709
|
legacy_id?: number | null;
|