mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
feat: add settings page parser (#154)
* feat: add settings page parsers * fix(AccountManager): small ts error * feat: add `CopyLink` & `SettingsCheckbox` * deps: remove “flat” dependency
This commit is contained in:
@@ -32,6 +32,7 @@ import { default as ChannelFeaturedContent } from './classes/ChannelFeaturedCont
|
||||
import { default as ChannelHeaderLinks } from './classes/ChannelHeaderLinks';
|
||||
import { default as ChannelMetadata } from './classes/ChannelMetadata';
|
||||
import { default as ChannelMobileHeader } from './classes/ChannelMobileHeader';
|
||||
import { default as ChannelOptions } from './classes/ChannelOptions';
|
||||
import { default as ChannelThumbnailWithLink } from './classes/ChannelThumbnailWithLink';
|
||||
import { default as ChannelVideoPlayer } from './classes/ChannelVideoPlayer';
|
||||
import { default as ChildVideo } from './classes/ChildVideo';
|
||||
@@ -52,6 +53,7 @@ import { default as CompactMix } from './classes/CompactMix';
|
||||
import { default as CompactPlaylist } from './classes/CompactPlaylist';
|
||||
import { default as CompactVideo } from './classes/CompactVideo';
|
||||
import { default as ContinuationItem } from './classes/ContinuationItem';
|
||||
import { default as CopyLink } from './classes/CopyLink';
|
||||
import { default as CreatePlaylistDialog } from './classes/CreatePlaylistDialog';
|
||||
import { default as DidYouMean } from './classes/DidYouMean';
|
||||
import { default as DownloadButton } from './classes/DownloadButton';
|
||||
@@ -162,6 +164,7 @@ import { default as MusicThumbnail } from './classes/MusicThumbnail';
|
||||
import { default as MusicTwoRowItem } from './classes/MusicTwoRowItem';
|
||||
import { default as NavigationEndpoint } from './classes/NavigationEndpoint';
|
||||
import { default as Notification } from './classes/Notification';
|
||||
import { default as PageIntroduction } from './classes/PageIntroduction';
|
||||
import { default as PlayerAnnotationsExpanded } from './classes/PlayerAnnotationsExpanded';
|
||||
import { default as PlayerCaptionsTracklist } from './classes/PlayerCaptionsTracklist';
|
||||
import { default as PlayerErrorMessage } from './classes/PlayerErrorMessage';
|
||||
@@ -203,6 +206,10 @@ import { default as SearchSuggestionsSection } from './classes/SearchSuggestions
|
||||
import { default as SecondarySearchContainer } from './classes/SecondarySearchContainer';
|
||||
import { default as SectionList } from './classes/SectionList';
|
||||
import { default as SettingBoolean } from './classes/SettingBoolean';
|
||||
import { default as SettingsCheckbox } from './classes/SettingsCheckbox';
|
||||
import { default as SettingsOptions } from './classes/SettingsOptions';
|
||||
import { default as SettingsSidebar } from './classes/SettingsSidebar';
|
||||
import { default as SettingsSwitch } from './classes/SettingsSwitch';
|
||||
import { default as Shelf } from './classes/Shelf';
|
||||
import { default as ShowingResultsFor } from './classes/ShowingResultsFor';
|
||||
import { default as SimpleCardContent } from './classes/SimpleCardContent';
|
||||
@@ -285,6 +292,7 @@ const map: Record<string, YTNodeConstructor> = {
|
||||
ChannelHeaderLinks,
|
||||
ChannelMetadata,
|
||||
ChannelMobileHeader,
|
||||
ChannelOptions,
|
||||
ChannelThumbnailWithLink,
|
||||
ChannelVideoPlayer,
|
||||
ChildVideo,
|
||||
@@ -305,6 +313,7 @@ const map: Record<string, YTNodeConstructor> = {
|
||||
CompactPlaylist,
|
||||
CompactVideo,
|
||||
ContinuationItem,
|
||||
CopyLink,
|
||||
CreatePlaylistDialog,
|
||||
DidYouMean,
|
||||
DownloadButton,
|
||||
@@ -415,6 +424,7 @@ const map: Record<string, YTNodeConstructor> = {
|
||||
MusicTwoRowItem,
|
||||
NavigationEndpoint,
|
||||
Notification,
|
||||
PageIntroduction,
|
||||
PlayerAnnotationsExpanded,
|
||||
PlayerCaptionsTracklist,
|
||||
PlayerErrorMessage,
|
||||
@@ -456,6 +466,10 @@ const map: Record<string, YTNodeConstructor> = {
|
||||
SecondarySearchContainer,
|
||||
SectionList,
|
||||
SettingBoolean,
|
||||
SettingsCheckbox,
|
||||
SettingsOptions,
|
||||
SettingsSidebar,
|
||||
SettingsSwitch,
|
||||
Shelf,
|
||||
ShowingResultsFor,
|
||||
SimpleCardContent,
|
||||
|
||||
Reference in New Issue
Block a user