export playlist channel ttypes

This commit is contained in:
Sayem Chowdhury 2021-04-07 17:30:03 +06:00
parent 58771877ea
commit 32a3945f61
2 changed files with 4 additions and 2215 deletions

View File

@ -14,7 +14,7 @@ interface nativeAdsType {
weight: number; // 1 weight: number; // 1
} }
interface itemsType { export interface playlistChannelItemsType {
item_id: string; // 'page_id=channels/dance,render_id=608a93738223d615200e6390ea48f8f3,version=channel-cms.1.0,section_id=long-card-horizontal-grid,section_position=0,module_id=be55d60e-e3c3-421a-9ea9-aef6f0c63c6c,module_type=playlists,layout=playlists_layout_long-card-horizontal-grid,content_source=playlists_content-source_custom,content_source_count=0,content_programming_count=8,section_content=playlist%3A1291471565%3Bplaylist%3A2249258602%3Bplaylist%3A2113355604%3Bplaylist%3A1950512362%3Bplaylist%3A1495242491%3Bplaylist%3A6090195324%3Bplaylist%3A706093725%3Bplaylist%3A7837492422,item_type=playlist,item_id=1291471565,item_position=0' item_id: string; // 'page_id=channels/dance,render_id=608a93738223d615200e6390ea48f8f3,version=channel-cms.1.0,section_id=long-card-horizontal-grid,section_position=0,module_id=be55d60e-e3c3-421a-9ea9-aef6f0c63c6c,module_type=playlists,layout=playlists_layout_long-card-horizontal-grid,content_source=playlists_content-source_custom,content_source_count=0,content_programming_count=8,section_content=playlist%3A1291471565%3Bplaylist%3A2249258602%3Bplaylist%3A2113355604%3Bplaylist%3A1950512362%3Bplaylist%3A1495242491%3Bplaylist%3A6090195324%3Bplaylist%3A706093725%3Bplaylist%3A7837492422,item_type=playlist,item_id=1291471565,item_position=0'
id: string; // '1291471565' id: string; // '1291471565'
type: 'playlist'; type: 'playlist';
@ -52,10 +52,10 @@ interface itemsType {
}; };
} }
interface sectionsType { export interface playlistChannelSectionsType {
layout: string; // 'long-card-horizontal-grid' layout: string; // 'long-card-horizontal-grid'
section_id: string; // 'page_id=channels/dance,render_id=608a93738223d615200e6390ea48f8f3,version=channel-cms.1.0,section_id=long-card-horizontal-grid,section_position=0,module_id=be55d60e-e3c3-421a-9ea9-aef6f0c63c6c,module_type=playlists,layout=playlists_layout_long-card-horizontal-grid,content_source=playlists_content-source_custom,content_source_count=0,content_programming_count=8,section_content=playlist%3A1291471565%3Bplaylist%3A2249258602%3Bplaylist%3A2113355604%3Bplaylist%3A1950512362%3Bplaylist%3A1495242491%3Bplaylist%3A6090195324%3Bplaylist%3A706093725%3Bplaylist%3A7837492422' section_id: string; // 'page_id=channels/dance,render_id=608a93738223d615200e6390ea48f8f3,version=channel-cms.1.0,section_id=long-card-horizontal-grid,section_position=0,module_id=be55d60e-e3c3-421a-9ea9-aef6f0c63c6c,module_type=playlists,layout=playlists_layout_long-card-horizontal-grid,content_source=playlists_content-source_custom,content_source_count=0,content_programming_count=8,section_content=playlist%3A1291471565%3Bplaylist%3A2249258602%3Bplaylist%3A2113355604%3Bplaylist%3A1950512362%3Bplaylist%3A1495242491%3Bplaylist%3A6090195324%3Bplaylist%3A706093725%3Bplaylist%3A7837492422'
items: itemsType[]; items: playlistChannelItemsType[];
title: string; // 'Top Dance & EDM playlists' title: string; // 'Top Dance & EDM playlists'
target: string; // '/channels/module/be55d60e-e3c3-421a-9ea9-aef6f0c63c6c' target: string; // '/channels/module/be55d60e-e3c3-421a-9ea9-aef6f0c63c6c'
related: { related: {
@ -76,6 +76,6 @@ export interface playlistChannelType {
}; };
title: string; // 'Dance & EDM' title: string; // 'Dance & EDM'
persistent: boolean; persistent: boolean;
sections: sectionsType[]; sections: playlistChannelSectionsType[];
expire: number; // 1617707131 expire: number; // 1617707131
} }

2211
yt.json

File diff suppressed because one or more lines are too long