diff --git a/docs/updating-the-parser.md b/docs/updating-the-parser.md index 37ad6cf8..9e630cae 100644 --- a/docs/updating-the-parser.md +++ b/docs/updating-the-parser.md @@ -31,7 +31,7 @@ For example, suppose we have found a new renderer named `verticalListRenderer`. > `../classes/VerticalList.ts` ```ts -import Parser, { RawNode } from '../index.js'; +import { Parser, RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class VerticalList extends YTNode { diff --git a/src/core/Actions.ts b/src/core/Actions.ts index 6d741918..3f43d980 100644 --- a/src/core/Actions.ts +++ b/src/core/Actions.ts @@ -1,4 +1,4 @@ -import Parser, { NavigateAction } from '../parser/index.js'; +import { Parser, NavigateAction } from '../parser/index.js'; import { InnertubeError } from '../utils/Utils.js'; import type Session from './Session.js'; diff --git a/src/core/clients/Kids.ts b/src/core/clients/Kids.ts index 5981f3ef..ab9d53cb 100644 --- a/src/core/clients/Kids.ts +++ b/src/core/clients/Kids.ts @@ -1,4 +1,4 @@ -import Parser from '../../parser/index.js'; +import { Parser } from '../../parser/index.js'; import Channel from '../../parser/ytkids/Channel.js'; import HomeFeed from '../../parser/ytkids/HomeFeed.js'; import Search from '../../parser/ytkids/Search.js'; diff --git a/src/core/mixins/Feed.ts b/src/core/mixins/Feed.ts index 889b19a5..4f995a26 100644 --- a/src/core/mixins/Feed.ts +++ b/src/core/mixins/Feed.ts @@ -1,5 +1,5 @@ import type { Memo, ObservedArray, SuperParsedResult, YTNode } from '../../parser/helpers.js'; -import Parser, { ReloadContinuationItemsCommand } from '../../parser/index.js'; +import { Parser, ReloadContinuationItemsCommand } from '../../parser/index.js'; import { concatMemos, InnertubeError } from '../../utils/Utils.js'; import type Actions from '../Actions.js'; diff --git a/src/core/mixins/MediaInfo.ts b/src/core/mixins/MediaInfo.ts index 33de027f..19a8158f 100644 --- a/src/core/mixins/MediaInfo.ts +++ b/src/core/mixins/MediaInfo.ts @@ -6,7 +6,7 @@ import * as FormatUtils from '../../utils/FormatUtils.js'; import { InnertubeError } from '../../utils/Utils.js'; import type Format from '../../parser/classes/misc/Format.js'; import type { INextResponse, IPlayerResponse } from '../../parser/index.js'; -import Parser from '../../parser/index.js'; +import { Parser } from '../../parser/index.js'; import type { DashOptions } from '../../types/DashOptions.js'; import PlayerStoryboardSpec from '../../parser/classes/PlayerStoryboardSpec.js'; import { getStreamingInfo } from '../../utils/StreamingInfo.js'; diff --git a/src/parser/classes/AccountItemSection.ts b/src/parser/classes/AccountItemSection.ts index c614df6c..75a25027 100644 --- a/src/parser/classes/AccountItemSection.ts +++ b/src/parser/classes/AccountItemSection.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import AccountItemSectionHeader from './AccountItemSectionHeader.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/AccountSectionList.ts b/src/parser/classes/AccountSectionList.ts index b42c8211..28faa998 100644 --- a/src/parser/classes/AccountSectionList.ts +++ b/src/parser/classes/AccountSectionList.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import AccountChannel from './AccountChannel.js'; import AccountItemSection from './AccountItemSection.js'; diff --git a/src/parser/classes/BackstagePost.ts b/src/parser/classes/BackstagePost.ts index e71fb327..d5fb4ece 100644 --- a/src/parser/classes/BackstagePost.ts +++ b/src/parser/classes/BackstagePost.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import CommentActionButtons from './comments/CommentActionButtons.js'; diff --git a/src/parser/classes/BackstagePostThread.ts b/src/parser/classes/BackstagePostThread.ts index 189ceb1c..f9879919 100644 --- a/src/parser/classes/BackstagePostThread.ts +++ b/src/parser/classes/BackstagePostThread.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class BackstagePostThread extends YTNode { diff --git a/src/parser/classes/BrowseFeedActions.ts b/src/parser/classes/BrowseFeedActions.ts index 432222e9..d449662f 100644 --- a/src/parser/classes/BrowseFeedActions.ts +++ b/src/parser/classes/BrowseFeedActions.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class BrowseFeedActions extends YTNode { diff --git a/src/parser/classes/C4TabbedHeader.ts b/src/parser/classes/C4TabbedHeader.ts index 2aa6f79d..bd33bf13 100644 --- a/src/parser/classes/C4TabbedHeader.ts +++ b/src/parser/classes/C4TabbedHeader.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import ChannelHeaderLinks from './ChannelHeaderLinks.js'; import ChannelHeaderLinksView from './ChannelHeaderLinksView.js'; diff --git a/src/parser/classes/Card.ts b/src/parser/classes/Card.ts index f49dc03c..0ade6045 100644 --- a/src/parser/classes/Card.ts +++ b/src/parser/classes/Card.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class Card extends YTNode { diff --git a/src/parser/classes/CardCollection.ts b/src/parser/classes/CardCollection.ts index ba57812a..e27ba778 100644 --- a/src/parser/classes/CardCollection.ts +++ b/src/parser/classes/CardCollection.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class CardCollection extends YTNode { diff --git a/src/parser/classes/CarouselHeader.ts b/src/parser/classes/CarouselHeader.ts index d3e617b1..ec816e6d 100644 --- a/src/parser/classes/CarouselHeader.ts +++ b/src/parser/classes/CarouselHeader.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class CarouselHeader extends YTNode { diff --git a/src/parser/classes/CarouselItem.ts b/src/parser/classes/CarouselItem.ts index 871711a1..f8cae18b 100644 --- a/src/parser/classes/CarouselItem.ts +++ b/src/parser/classes/CarouselItem.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/CarouselLockup.ts b/src/parser/classes/CarouselLockup.ts index c1a794ef..cbf2387a 100644 --- a/src/parser/classes/CarouselLockup.ts +++ b/src/parser/classes/CarouselLockup.ts @@ -1,6 +1,6 @@ import { type ObservedArray, YTNode } from '../helpers.js'; import InfoRow from './InfoRow.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import CompactVideo from './CompactVideo.js'; export default class CarouselLockup extends YTNode { diff --git a/src/parser/classes/Channel.ts b/src/parser/classes/Channel.ts index 1c08d869..a9db9430 100644 --- a/src/parser/classes/Channel.ts +++ b/src/parser/classes/Channel.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SubscribeButton from './SubscribeButton.js'; diff --git a/src/parser/classes/ChannelAboutFullMetadata.ts b/src/parser/classes/ChannelAboutFullMetadata.ts index c6de7523..699996cb 100644 --- a/src/parser/classes/ChannelAboutFullMetadata.ts +++ b/src/parser/classes/ChannelAboutFullMetadata.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/ChannelFeaturedContent.ts b/src/parser/classes/ChannelFeaturedContent.ts index e14448b0..90834255 100644 --- a/src/parser/classes/ChannelFeaturedContent.ts +++ b/src/parser/classes/ChannelFeaturedContent.ts @@ -1,5 +1,5 @@ import { type ObservedArray, YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class ChannelFeaturedContent extends YTNode { diff --git a/src/parser/classes/ChannelSubMenu.ts b/src/parser/classes/ChannelSubMenu.ts index d17b5e9b..b346496f 100644 --- a/src/parser/classes/ChannelSubMenu.ts +++ b/src/parser/classes/ChannelSubMenu.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; export default class ChannelSubMenu extends YTNode { diff --git a/src/parser/classes/ChipCloud.ts b/src/parser/classes/ChipCloud.ts index dd4e22bd..4e095337 100644 --- a/src/parser/classes/ChipCloud.ts +++ b/src/parser/classes/ChipCloud.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import ChipCloudChip from './ChipCloudChip.js'; diff --git a/src/parser/classes/CompactChannel.ts b/src/parser/classes/CompactChannel.ts index 9f1b3604..e7d9c451 100644 --- a/src/parser/classes/CompactChannel.ts +++ b/src/parser/classes/CompactChannel.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/CompactMovie.ts b/src/parser/classes/CompactMovie.ts index 542bf557..199c2ced 100644 --- a/src/parser/classes/CompactMovie.ts +++ b/src/parser/classes/CompactMovie.ts @@ -1,6 +1,6 @@ import { YTNode, type ObservedArray } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Author from './misc/Author.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/CompactVideo.ts b/src/parser/classes/CompactVideo.ts index 39c16db7..22ad2c8f 100644 --- a/src/parser/classes/CompactVideo.ts +++ b/src/parser/classes/CompactVideo.ts @@ -1,6 +1,6 @@ import { timeToSeconds } from '../../utils/Utils.js'; import { YTNode, type ObservedArray, type SuperParsedResult } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Menu from './menus/Menu.js'; import MetadataBadge from './MetadataBadge.js'; import Author from './misc/Author.js'; diff --git a/src/parser/classes/ConfirmDialog.ts b/src/parser/classes/ConfirmDialog.ts index d33265de..7d12d987 100644 --- a/src/parser/classes/ConfirmDialog.ts +++ b/src/parser/classes/ConfirmDialog.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; import Button from './Button.js'; import { YTNode } from '../helpers.js'; diff --git a/src/parser/classes/ContinuationItem.ts b/src/parser/classes/ContinuationItem.ts index 1f6593b8..c7c40fb5 100644 --- a/src/parser/classes/ContinuationItem.ts +++ b/src/parser/classes/ContinuationItem.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/ConversationBar.ts b/src/parser/classes/ConversationBar.ts index 2ebfff78..c03ae7ae 100644 --- a/src/parser/classes/ConversationBar.ts +++ b/src/parser/classes/ConversationBar.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Message from './Message.js'; export default class ConversationBar extends YTNode { diff --git a/src/parser/classes/CopyLink.ts b/src/parser/classes/CopyLink.ts index 89bc8d65..f09c471c 100644 --- a/src/parser/classes/CopyLink.ts +++ b/src/parser/classes/CopyLink.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; export default class CopyLink extends YTNode { diff --git a/src/parser/classes/CreatePlaylistDialog.ts b/src/parser/classes/CreatePlaylistDialog.ts index 4332b380..b4085b87 100644 --- a/src/parser/classes/CreatePlaylistDialog.ts +++ b/src/parser/classes/CreatePlaylistDialog.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Dropdown from './Dropdown.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/DecoratedPlayerBar.ts b/src/parser/classes/DecoratedPlayerBar.ts index 5a2781cf..0ad7bd73 100644 --- a/src/parser/classes/DecoratedPlayerBar.ts +++ b/src/parser/classes/DecoratedPlayerBar.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Button from './Button.js'; import MultiMarkersPlayerBar from './MultiMarkersPlayerBar.js'; diff --git a/src/parser/classes/DefaultPromoPanel.ts b/src/parser/classes/DefaultPromoPanel.ts index db85431c..b3cff772 100644 --- a/src/parser/classes/DefaultPromoPanel.ts +++ b/src/parser/classes/DefaultPromoPanel.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/Dropdown.ts b/src/parser/classes/Dropdown.ts index 325b6e32..8654b03f 100644 --- a/src/parser/classes/Dropdown.ts +++ b/src/parser/classes/Dropdown.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import DropdownItem from './DropdownItem.js'; export default class Dropdown extends YTNode { diff --git a/src/parser/classes/Element.ts b/src/parser/classes/Element.ts index 16274a00..161e630b 100644 --- a/src/parser/classes/Element.ts +++ b/src/parser/classes/Element.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ChildElement from './misc/ChildElement.js'; import { type ObservedArray, YTNode, observe } from '../helpers.js'; diff --git a/src/parser/classes/EmergencyOnebox.ts b/src/parser/classes/EmergencyOnebox.ts index f9244f9c..7162f777 100644 --- a/src/parser/classes/EmergencyOnebox.ts +++ b/src/parser/classes/EmergencyOnebox.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/EndScreenVideo.ts b/src/parser/classes/EndScreenVideo.ts index bd7da24a..35a5523d 100644 --- a/src/parser/classes/EndScreenVideo.ts +++ b/src/parser/classes/EndScreenVideo.ts @@ -1,5 +1,5 @@ import { type ObservedArray, YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Author from './misc/Author.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/Endscreen.ts b/src/parser/classes/Endscreen.ts index 03267ece..6cfb970b 100644 --- a/src/parser/classes/Endscreen.ts +++ b/src/parser/classes/Endscreen.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class Endscreen extends YTNode { diff --git a/src/parser/classes/EndscreenElement.ts b/src/parser/classes/EndscreenElement.ts index 3bf96ad7..61b30678 100644 --- a/src/parser/classes/EndscreenElement.ts +++ b/src/parser/classes/EndscreenElement.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Thumbnail from './misc/Thumbnail.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/EngagementPanelSectionList.ts b/src/parser/classes/EngagementPanelSectionList.ts index 99f80b7b..7f408745 100644 --- a/src/parser/classes/EngagementPanelSectionList.ts +++ b/src/parser/classes/EngagementPanelSectionList.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ClipSection from './ClipSection.js'; import ContinuationItem from './ContinuationItem.js'; import EngagementPanelTitleHeader from './EngagementPanelTitleHeader.js'; diff --git a/src/parser/classes/ExpandableMetadata.ts b/src/parser/classes/ExpandableMetadata.ts index e7096b3b..90dbe8c1 100644 --- a/src/parser/classes/ExpandableMetadata.ts +++ b/src/parser/classes/ExpandableMetadata.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import HorizontalCardList from './HorizontalCardList.js'; import HorizontalList from './HorizontalList.js'; diff --git a/src/parser/classes/ExpandableTab.ts b/src/parser/classes/ExpandableTab.ts index c20a5a71..a325a4ac 100644 --- a/src/parser/classes/ExpandableTab.ts +++ b/src/parser/classes/ExpandableTab.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; export default class ExpandableTab extends YTNode { diff --git a/src/parser/classes/ExpandedShelfContents.ts b/src/parser/classes/ExpandedShelfContents.ts index 02ba5548..088c32f0 100644 --- a/src/parser/classes/ExpandedShelfContents.ts +++ b/src/parser/classes/ExpandedShelfContents.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class ExpandedShelfContents extends YTNode { diff --git a/src/parser/classes/FeedFilterChipBar.ts b/src/parser/classes/FeedFilterChipBar.ts index 570d8d8b..c36b24a3 100644 --- a/src/parser/classes/FeedFilterChipBar.ts +++ b/src/parser/classes/FeedFilterChipBar.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ChipCloudChip from './ChipCloudChip.js'; export default class FeedFilterChipBar extends YTNode { diff --git a/src/parser/classes/GameCard.ts b/src/parser/classes/GameCard.ts index e35ede27..ec08bc77 100644 --- a/src/parser/classes/GameCard.ts +++ b/src/parser/classes/GameCard.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class GameCard extends YTNode { static type = 'GameCard'; diff --git a/src/parser/classes/Grid.ts b/src/parser/classes/Grid.ts index 4e440dc8..a52be6ca 100644 --- a/src/parser/classes/Grid.ts +++ b/src/parser/classes/Grid.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class Grid extends YTNode { static type = 'Grid'; diff --git a/src/parser/classes/GridChannel.ts b/src/parser/classes/GridChannel.ts index f5c6ba45..cbb91ec3 100644 --- a/src/parser/classes/GridChannel.ts +++ b/src/parser/classes/GridChannel.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Author from './misc/Author.js'; import Text from './misc/Text.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/GridMix.ts b/src/parser/classes/GridMix.ts index f906687c..bffbc382 100644 --- a/src/parser/classes/GridMix.ts +++ b/src/parser/classes/GridMix.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/GridMovie.ts b/src/parser/classes/GridMovie.ts index 12881a1f..77de0426 100644 --- a/src/parser/classes/GridMovie.ts +++ b/src/parser/classes/GridMovie.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MetadataBadge from './MetadataBadge.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/GridPlaylist.ts b/src/parser/classes/GridPlaylist.ts index 1a7f0bd6..1dc81591 100644 --- a/src/parser/classes/GridPlaylist.ts +++ b/src/parser/classes/GridPlaylist.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Author from './misc/Author.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/GridVideo.ts b/src/parser/classes/GridVideo.ts index 86256201..fc90812e 100644 --- a/src/parser/classes/GridVideo.ts +++ b/src/parser/classes/GridVideo.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Menu from './menus/Menu.js'; import Author from './misc/Author.js'; diff --git a/src/parser/classes/Heatmap.ts b/src/parser/classes/Heatmap.ts index adb432e0..2a85ca09 100644 --- a/src/parser/classes/Heatmap.ts +++ b/src/parser/classes/Heatmap.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import HeatMarker from './HeatMarker.js'; import { type ObservedArray, YTNode } from '../helpers.js'; diff --git a/src/parser/classes/HorizontalCardList.ts b/src/parser/classes/HorizontalCardList.ts index 3621d0a1..ebeaa30b 100644 --- a/src/parser/classes/HorizontalCardList.ts +++ b/src/parser/classes/HorizontalCardList.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; import SearchRefinementCard from './SearchRefinementCard.js'; import Button from './Button.js'; diff --git a/src/parser/classes/HorizontalList.ts b/src/parser/classes/HorizontalList.ts index 4d2a6a7c..729a89b3 100644 --- a/src/parser/classes/HorizontalList.ts +++ b/src/parser/classes/HorizontalList.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class HorizontalList extends YTNode { diff --git a/src/parser/classes/HorizontalMovieList.ts b/src/parser/classes/HorizontalMovieList.ts index eaa6f3be..f790e650 100644 --- a/src/parser/classes/HorizontalMovieList.ts +++ b/src/parser/classes/HorizontalMovieList.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; import Button from './Button.js'; diff --git a/src/parser/classes/InfoPanelContainer.ts b/src/parser/classes/InfoPanelContainer.ts index c1a6174f..7b0b7f49 100644 --- a/src/parser/classes/InfoPanelContainer.ts +++ b/src/parser/classes/InfoPanelContainer.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import InfoPanelContent from './InfoPanelContent.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/InteractiveTabbedHeader.ts b/src/parser/classes/InteractiveTabbedHeader.ts index d72fa98d..318f359e 100644 --- a/src/parser/classes/InteractiveTabbedHeader.ts +++ b/src/parser/classes/InteractiveTabbedHeader.ts @@ -5,7 +5,7 @@ import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class InteractiveTabbedHeader extends YTNode { static type = 'InteractiveTabbedHeader'; diff --git a/src/parser/classes/ItemSection.ts b/src/parser/classes/ItemSection.ts index 855c6284..f27d41db 100644 --- a/src/parser/classes/ItemSection.ts +++ b/src/parser/classes/ItemSection.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ItemSectionHeader from './ItemSectionHeader.js'; import ItemSectionTabbedHeader from './ItemSectionTabbedHeader.js'; import CommentsHeader from './comments/CommentsHeader.js'; diff --git a/src/parser/classes/ItemSectionTabbedHeader.ts b/src/parser/classes/ItemSectionTabbedHeader.ts index 3cd27d2c..145261b8 100644 --- a/src/parser/classes/ItemSectionTabbedHeader.ts +++ b/src/parser/classes/ItemSectionTabbedHeader.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ItemSectionTab from './ItemSectionTab.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/LiveChat.ts b/src/parser/classes/LiveChat.ts index 83eb35c0..53ecf7f8 100644 --- a/src/parser/classes/LiveChat.ts +++ b/src/parser/classes/LiveChat.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class LiveChat extends YTNode { diff --git a/src/parser/classes/LiveChatDialog.ts b/src/parser/classes/LiveChatDialog.ts index ee374b5a..57f281a6 100644 --- a/src/parser/classes/LiveChatDialog.ts +++ b/src/parser/classes/LiveChatDialog.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/LiveChatHeader.ts b/src/parser/classes/LiveChatHeader.ts index 19f0e96e..8cd6ab3d 100644 --- a/src/parser/classes/LiveChatHeader.ts +++ b/src/parser/classes/LiveChatHeader.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import SortFilterSubMenu from './SortFilterSubMenu.js'; import Menu from './menus/Menu.js'; diff --git a/src/parser/classes/LiveChatItemList.ts b/src/parser/classes/LiveChatItemList.ts index a38bebee..954080f3 100644 --- a/src/parser/classes/LiveChatItemList.ts +++ b/src/parser/classes/LiveChatItemList.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; export default class LiveChatItemList extends YTNode { diff --git a/src/parser/classes/LiveChatMessageInput.ts b/src/parser/classes/LiveChatMessageInput.ts index bf7bfef9..a4540f5f 100644 --- a/src/parser/classes/LiveChatMessageInput.ts +++ b/src/parser/classes/LiveChatMessageInput.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/LiveChatParticipant.ts b/src/parser/classes/LiveChatParticipant.ts index 93cf7170..9e83b81d 100644 --- a/src/parser/classes/LiveChatParticipant.ts +++ b/src/parser/classes/LiveChatParticipant.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/LiveChatParticipantsList.ts b/src/parser/classes/LiveChatParticipantsList.ts index f82289b7..e96c61f3 100644 --- a/src/parser/classes/LiveChatParticipantsList.ts +++ b/src/parser/classes/LiveChatParticipantsList.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import LiveChatParticipant from './LiveChatParticipant.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/MerchandiseShelf.ts b/src/parser/classes/MerchandiseShelf.ts index bc371d3c..c7515dac 100644 --- a/src/parser/classes/MerchandiseShelf.ts +++ b/src/parser/classes/MerchandiseShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class MerchandiseShelf extends YTNode { static type = 'MerchandiseShelf'; diff --git a/src/parser/classes/MetadataRowContainer.ts b/src/parser/classes/MetadataRowContainer.ts index e22a6848..62fda62d 100644 --- a/src/parser/classes/MetadataRowContainer.ts +++ b/src/parser/classes/MetadataRowContainer.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class MetadataRowContainer extends YTNode { diff --git a/src/parser/classes/MetadataScreen.ts b/src/parser/classes/MetadataScreen.ts index 79ddb6cb..7eda49db 100644 --- a/src/parser/classes/MetadataScreen.ts +++ b/src/parser/classes/MetadataScreen.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class MetadataScreen extends YTNode { diff --git a/src/parser/classes/Movie.ts b/src/parser/classes/Movie.ts index 35754474..e1f9d413 100644 --- a/src/parser/classes/Movie.ts +++ b/src/parser/classes/Movie.ts @@ -1,6 +1,6 @@ import { timeToSeconds } from '../../utils/Utils.js'; import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Menu from './menus/Menu.js'; import Author from './misc/Author.js'; diff --git a/src/parser/classes/MultiMarkersPlayerBar.ts b/src/parser/classes/MultiMarkersPlayerBar.ts index 5d0d6416..0008c846 100644 --- a/src/parser/classes/MultiMarkersPlayerBar.ts +++ b/src/parser/classes/MultiMarkersPlayerBar.ts @@ -1,6 +1,6 @@ import { YTNode, observe, type ObservedArray } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Chapter from './Chapter.js'; import Heatmap from './Heatmap.js'; diff --git a/src/parser/classes/MusicCardShelf.ts b/src/parser/classes/MusicCardShelf.ts index eeaf33f2..2c6adc66 100644 --- a/src/parser/classes/MusicCardShelf.ts +++ b/src/parser/classes/MusicCardShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/MusicCarouselShelf.ts b/src/parser/classes/MusicCarouselShelf.ts index 1c4ed0c4..accb0202 100644 --- a/src/parser/classes/MusicCarouselShelf.ts +++ b/src/parser/classes/MusicCarouselShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicCarouselShelfBasicHeader from './MusicCarouselShelfBasicHeader.js'; import MusicMultiRowListItem from './MusicMultiRowListItem.js'; diff --git a/src/parser/classes/MusicCarouselShelfBasicHeader.ts b/src/parser/classes/MusicCarouselShelfBasicHeader.ts index 03de9222..623425bb 100644 --- a/src/parser/classes/MusicCarouselShelfBasicHeader.ts +++ b/src/parser/classes/MusicCarouselShelfBasicHeader.ts @@ -1,5 +1,5 @@ import { type ObservedArray, YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import IconLink from './IconLink.js'; import MusicThumbnail from './MusicThumbnail.js'; diff --git a/src/parser/classes/MusicDetailHeader.ts b/src/parser/classes/MusicDetailHeader.ts index 02f763c7..eb511fed 100644 --- a/src/parser/classes/MusicDetailHeader.ts +++ b/src/parser/classes/MusicDetailHeader.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import type NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; import type TextRun from './misc/TextRun.js'; diff --git a/src/parser/classes/MusicEditablePlaylistDetailHeader.ts b/src/parser/classes/MusicEditablePlaylistDetailHeader.ts index a7071ecf..7658c032 100644 --- a/src/parser/classes/MusicEditablePlaylistDetailHeader.ts +++ b/src/parser/classes/MusicEditablePlaylistDetailHeader.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class MusicEditablePlaylistDetailHeader extends YTNode { diff --git a/src/parser/classes/MusicElementHeader.ts b/src/parser/classes/MusicElementHeader.ts index 19e9e158..80ec8bc3 100644 --- a/src/parser/classes/MusicElementHeader.ts +++ b/src/parser/classes/MusicElementHeader.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Element from './Element.js'; import { YTNode } from '../helpers.js'; diff --git a/src/parser/classes/MusicHeader.ts b/src/parser/classes/MusicHeader.ts index 4b75d255..5a5c290e 100644 --- a/src/parser/classes/MusicHeader.ts +++ b/src/parser/classes/MusicHeader.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/MusicImmersiveHeader.ts b/src/parser/classes/MusicImmersiveHeader.ts index e0213eee..8b167625 100644 --- a/src/parser/classes/MusicImmersiveHeader.ts +++ b/src/parser/classes/MusicImmersiveHeader.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicThumbnail from './MusicThumbnail.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/MusicItemThumbnailOverlay.ts b/src/parser/classes/MusicItemThumbnailOverlay.ts index 097e8de1..7937c3bb 100644 --- a/src/parser/classes/MusicItemThumbnailOverlay.ts +++ b/src/parser/classes/MusicItemThumbnailOverlay.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicPlayButton from './MusicPlayButton.js'; import { YTNode } from '../helpers.js'; diff --git a/src/parser/classes/MusicPlaylistShelf.ts b/src/parser/classes/MusicPlaylistShelf.ts index 84fb5cff..a4b1444e 100644 --- a/src/parser/classes/MusicPlaylistShelf.ts +++ b/src/parser/classes/MusicPlaylistShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicResponsiveListItem from './MusicResponsiveListItem.js'; export default class MusicPlaylistShelf extends YTNode { diff --git a/src/parser/classes/MusicQueue.ts b/src/parser/classes/MusicQueue.ts index 55ef8321..3fad09e9 100644 --- a/src/parser/classes/MusicQueue.ts +++ b/src/parser/classes/MusicQueue.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import PlaylistPanel from './PlaylistPanel.js'; import { YTNode } from '../helpers.js'; diff --git a/src/parser/classes/MusicResponsiveListItem.ts b/src/parser/classes/MusicResponsiveListItem.ts index 1bafc093..4548049b 100644 --- a/src/parser/classes/MusicResponsiveListItem.ts +++ b/src/parser/classes/MusicResponsiveListItem.ts @@ -5,7 +5,7 @@ import { isTextRun, timeToSeconds } from '../../utils/Utils.js'; import type { ObservedArray } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import MusicItemThumbnailOverlay from './MusicItemThumbnailOverlay.js'; import MusicResponsiveListItemFixedColumn from './MusicResponsiveListItemFixedColumn.js'; import MusicResponsiveListItemFlexColumn from './MusicResponsiveListItemFlexColumn.js'; diff --git a/src/parser/classes/MusicShelf.ts b/src/parser/classes/MusicShelf.ts index 81ce69a3..2964d759 100644 --- a/src/parser/classes/MusicShelf.ts +++ b/src/parser/classes/MusicShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import MusicResponsiveListItem from './MusicResponsiveListItem.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/MusicSideAlignedItem.ts b/src/parser/classes/MusicSideAlignedItem.ts index 319b7a61..876a54f9 100644 --- a/src/parser/classes/MusicSideAlignedItem.ts +++ b/src/parser/classes/MusicSideAlignedItem.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class MusicSideAlignedItem extends YTNode { static type = 'MusicSideAlignedItem'; diff --git a/src/parser/classes/MusicSortFilterButton.ts b/src/parser/classes/MusicSortFilterButton.ts index a75ba662..d2ba19f5 100644 --- a/src/parser/classes/MusicSortFilterButton.ts +++ b/src/parser/classes/MusicSortFilterButton.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicMultiSelectMenu from './menus/MusicMultiSelectMenu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/MusicTastebuilderShelf.ts b/src/parser/classes/MusicTastebuilderShelf.ts index 741ee9d3..1fba354d 100644 --- a/src/parser/classes/MusicTastebuilderShelf.ts +++ b/src/parser/classes/MusicTastebuilderShelf.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; import MusicTastebuilderShelfThumbnail from './MusicTastebuilderShelfThumbnail.js'; diff --git a/src/parser/classes/MusicTwoRowItem.ts b/src/parser/classes/MusicTwoRowItem.ts index cf0177f0..405a18e8 100644 --- a/src/parser/classes/MusicTwoRowItem.ts +++ b/src/parser/classes/MusicTwoRowItem.ts @@ -1,7 +1,7 @@ // TODO: Refactor this. import { YTNode, type SuperParsedResult } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import MusicItemThumbnailOverlay from './MusicItemThumbnailOverlay.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Menu from './menus/Menu.js'; diff --git a/src/parser/classes/MusicVisualHeader.ts b/src/parser/classes/MusicVisualHeader.ts index b9f4b19d..19c1ba1f 100644 --- a/src/parser/classes/MusicVisualHeader.ts +++ b/src/parser/classes/MusicVisualHeader.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/NavigationEndpoint.ts b/src/parser/classes/NavigationEndpoint.ts index 793f2882..c25d9cdc 100644 --- a/src/parser/classes/NavigationEndpoint.ts +++ b/src/parser/classes/NavigationEndpoint.ts @@ -1,7 +1,7 @@ import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import type { IParsedResponse } from '../types/ParsedResponse.js'; import CreatePlaylistDialog from './CreatePlaylistDialog.js'; import OpenPopupAction from './actions/OpenPopupAction.js'; diff --git a/src/parser/classes/Notification.ts b/src/parser/classes/Notification.ts index d9426975..8c27ce0f 100644 --- a/src/parser/classes/Notification.ts +++ b/src/parser/classes/Notification.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/PageHeader.ts b/src/parser/classes/PageHeader.ts index 73c8a0cc..2468eed9 100644 --- a/src/parser/classes/PageHeader.ts +++ b/src/parser/classes/PageHeader.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import PageHeaderView from './PageHeaderView.js'; export default class PageHeader extends YTNode { diff --git a/src/parser/classes/PageHeaderView.ts b/src/parser/classes/PageHeaderView.ts index ac8beeaf..83c6af59 100644 --- a/src/parser/classes/PageHeaderView.ts +++ b/src/parser/classes/PageHeaderView.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ContentPreviewImageView from './ContentPreviewImageView.js'; import DynamicTextView from './DynamicTextView.js'; diff --git a/src/parser/classes/PlayerAnnotationsExpanded.ts b/src/parser/classes/PlayerAnnotationsExpanded.ts index fc5d909f..25796491 100644 --- a/src/parser/classes/PlayerAnnotationsExpanded.ts +++ b/src/parser/classes/PlayerAnnotationsExpanded.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Thumbnail from './misc/Thumbnail.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/PlayerErrorMessage.ts b/src/parser/classes/PlayerErrorMessage.ts index 8cecb16f..07050ef9 100644 --- a/src/parser/classes/PlayerErrorMessage.ts +++ b/src/parser/classes/PlayerErrorMessage.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; diff --git a/src/parser/classes/PlayerOverlay.ts b/src/parser/classes/PlayerOverlay.ts index 7a91224c..8aa58159 100644 --- a/src/parser/classes/PlayerOverlay.ts +++ b/src/parser/classes/PlayerOverlay.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import DecoratedPlayerBar from './DecoratedPlayerBar.js'; import PlayerOverlayAutoplay from './PlayerOverlayAutoplay.js'; diff --git a/src/parser/classes/PlayerOverlayAutoplay.ts b/src/parser/classes/PlayerOverlayAutoplay.ts index 4b5fc97a..f47df906 100644 --- a/src/parser/classes/PlayerOverlayAutoplay.ts +++ b/src/parser/classes/PlayerOverlayAutoplay.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Author from './misc/Author.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/Playlist.ts b/src/parser/classes/Playlist.ts index 1a4c23d2..f6f96356 100644 --- a/src/parser/classes/Playlist.ts +++ b/src/parser/classes/Playlist.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import PlaylistCustomThumbnail from './PlaylistCustomThumbnail.js'; import PlaylistVideoThumbnail from './PlaylistVideoThumbnail.js'; diff --git a/src/parser/classes/PlaylistHeader.ts b/src/parser/classes/PlaylistHeader.ts index b228d38a..11af93bb 100644 --- a/src/parser/classes/PlaylistHeader.ts +++ b/src/parser/classes/PlaylistHeader.ts @@ -1,6 +1,6 @@ import Text from './misc/Text.js'; import Author from './misc/Author.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class PlaylistHeader extends YTNode { diff --git a/src/parser/classes/PlaylistPanel.ts b/src/parser/classes/PlaylistPanel.ts index 5868b0a7..cff115a6 100644 --- a/src/parser/classes/PlaylistPanel.ts +++ b/src/parser/classes/PlaylistPanel.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import AutomixPreviewVideo from './AutomixPreviewVideo.js'; import PlaylistPanelVideo from './PlaylistPanelVideo.js'; import PlaylistPanelVideoWrapper from './PlaylistPanelVideoWrapper.js'; diff --git a/src/parser/classes/PlaylistPanelVideo.ts b/src/parser/classes/PlaylistPanelVideo.ts index 31afbb8b..d89c08dc 100644 --- a/src/parser/classes/PlaylistPanelVideo.ts +++ b/src/parser/classes/PlaylistPanelVideo.ts @@ -1,6 +1,6 @@ import { timeToSeconds } from '../../utils/Utils.js'; import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; import type TextRun from './misc/TextRun.js'; diff --git a/src/parser/classes/PlaylistPanelVideoWrapper.ts b/src/parser/classes/PlaylistPanelVideoWrapper.ts index 739da034..84a64b3b 100644 --- a/src/parser/classes/PlaylistPanelVideoWrapper.ts +++ b/src/parser/classes/PlaylistPanelVideoWrapper.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode, observe } from '../helpers.js'; import PlaylistPanelVideo from './PlaylistPanelVideo.js'; diff --git a/src/parser/classes/PlaylistSidebar.ts b/src/parser/classes/PlaylistSidebar.ts index 72054702..29d5c2d3 100644 --- a/src/parser/classes/PlaylistSidebar.ts +++ b/src/parser/classes/PlaylistSidebar.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class PlaylistSidebar extends YTNode { diff --git a/src/parser/classes/PlaylistSidebarPrimaryInfo.ts b/src/parser/classes/PlaylistSidebarPrimaryInfo.ts index 38653404..2623bab7 100644 --- a/src/parser/classes/PlaylistSidebarPrimaryInfo.ts +++ b/src/parser/classes/PlaylistSidebarPrimaryInfo.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/PlaylistSidebarSecondaryInfo.ts b/src/parser/classes/PlaylistSidebarSecondaryInfo.ts index a0997a85..431db2ab 100644 --- a/src/parser/classes/PlaylistSidebarSecondaryInfo.ts +++ b/src/parser/classes/PlaylistSidebarSecondaryInfo.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class PlaylistSidebarSecondaryInfo extends YTNode { static type = 'PlaylistSidebarSecondaryInfo'; diff --git a/src/parser/classes/PlaylistVideo.ts b/src/parser/classes/PlaylistVideo.ts index 7919f1b2..6fd7cd4c 100644 --- a/src/parser/classes/PlaylistVideo.ts +++ b/src/parser/classes/PlaylistVideo.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import ThumbnailOverlayTimeStatus from './ThumbnailOverlayTimeStatus.js'; import Menu from './menus/Menu.js'; diff --git a/src/parser/classes/PlaylistVideoList.ts b/src/parser/classes/PlaylistVideoList.ts index d6790563..fb3e34a5 100644 --- a/src/parser/classes/PlaylistVideoList.ts +++ b/src/parser/classes/PlaylistVideoList.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class PlaylistVideoList extends YTNode { diff --git a/src/parser/classes/PostMultiImage.ts b/src/parser/classes/PostMultiImage.ts index 6c1d29e4..1246dea1 100644 --- a/src/parser/classes/PostMultiImage.ts +++ b/src/parser/classes/PostMultiImage.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import BackstageImage from './BackstageImage.js'; import { YTNode } from '../helpers.js'; diff --git a/src/parser/classes/ProductList.ts b/src/parser/classes/ProductList.ts index d3a3bc21..ba0cea8d 100644 --- a/src/parser/classes/ProductList.ts +++ b/src/parser/classes/ProductList.ts @@ -1,7 +1,7 @@ import type { ObservedArray} from '../helpers.js'; import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; export default class ProductList extends YTNode { static type = 'ProductList'; diff --git a/src/parser/classes/ProductListItem.ts b/src/parser/classes/ProductListItem.ts index 6a2f273d..1ed35c3e 100644 --- a/src/parser/classes/ProductListItem.ts +++ b/src/parser/classes/ProductListItem.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import { Text, Thumbnail } from '../misc.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/ProfileColumn.ts b/src/parser/classes/ProfileColumn.ts index b76b9428..16a5de54 100644 --- a/src/parser/classes/ProfileColumn.ts +++ b/src/parser/classes/ProfileColumn.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class ProfileColumn extends YTNode { static type = 'ProfileColumn'; diff --git a/src/parser/classes/ProfileColumnStats.ts b/src/parser/classes/ProfileColumnStats.ts index fb45fb87..1749b418 100644 --- a/src/parser/classes/ProfileColumnStats.ts +++ b/src/parser/classes/ProfileColumnStats.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class ProfileColumnStats extends YTNode { diff --git a/src/parser/classes/RecognitionShelf.ts b/src/parser/classes/RecognitionShelf.ts index f70fda66..016d5a9c 100644 --- a/src/parser/classes/RecognitionShelf.ts +++ b/src/parser/classes/RecognitionShelf.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; import Button from './Button.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/ReelShelf.ts b/src/parser/classes/ReelShelf.ts index 7567c9e4..eb346890 100644 --- a/src/parser/classes/ReelShelf.ts +++ b/src/parser/classes/ReelShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/RelatedChipCloud.ts b/src/parser/classes/RelatedChipCloud.ts index af158983..51c6c261 100644 --- a/src/parser/classes/RelatedChipCloud.ts +++ b/src/parser/classes/RelatedChipCloud.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class RelatedChipCloud extends YTNode { diff --git a/src/parser/classes/RichGrid.ts b/src/parser/classes/RichGrid.ts index 82637f53..e021ae29 100644 --- a/src/parser/classes/RichGrid.ts +++ b/src/parser/classes/RichGrid.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class RichGrid extends YTNode { diff --git a/src/parser/classes/RichItem.ts b/src/parser/classes/RichItem.ts index 8bbad98e..e827cc45 100644 --- a/src/parser/classes/RichItem.ts +++ b/src/parser/classes/RichItem.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; export default class RichItem extends YTNode { diff --git a/src/parser/classes/RichMetadataRow.ts b/src/parser/classes/RichMetadataRow.ts index 2f0ca4c8..37047e32 100644 --- a/src/parser/classes/RichMetadataRow.ts +++ b/src/parser/classes/RichMetadataRow.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class RichMetadataRow extends YTNode { diff --git a/src/parser/classes/RichSection.ts b/src/parser/classes/RichSection.ts index f1b57e76..1c12964c 100644 --- a/src/parser/classes/RichSection.ts +++ b/src/parser/classes/RichSection.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class RichSection extends YTNode { static type = 'RichSection'; diff --git a/src/parser/classes/RichShelf.ts b/src/parser/classes/RichShelf.ts index e48a7a4b..b34591b2 100644 --- a/src/parser/classes/RichShelf.ts +++ b/src/parser/classes/RichShelf.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/SearchBox.ts b/src/parser/classes/SearchBox.ts index b24a0c8e..4d5d9675 100644 --- a/src/parser/classes/SearchBox.ts +++ b/src/parser/classes/SearchBox.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/SearchSubMenu.ts b/src/parser/classes/SearchSubMenu.ts index b1a3c864..db430d8d 100644 --- a/src/parser/classes/SearchSubMenu.ts +++ b/src/parser/classes/SearchSubMenu.ts @@ -1,6 +1,6 @@ import { type ObservedArray, YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Text from './misc/Text.js'; import SearchFilterGroup from './SearchFilterGroup.js'; import ToggleButton from './ToggleButton.js'; diff --git a/src/parser/classes/SearchSuggestionsSection.ts b/src/parser/classes/SearchSuggestionsSection.ts index 1b7bb245..038da4e5 100644 --- a/src/parser/classes/SearchSuggestionsSection.ts +++ b/src/parser/classes/SearchSuggestionsSection.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class SearchSuggestionsSection extends YTNode { diff --git a/src/parser/classes/SecondarySearchContainer.ts b/src/parser/classes/SecondarySearchContainer.ts index b6f3eab5..b6505c6a 100644 --- a/src/parser/classes/SecondarySearchContainer.ts +++ b/src/parser/classes/SecondarySearchContainer.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; export default class SecondarySearchContainer extends YTNode { diff --git a/src/parser/classes/SectionList.ts b/src/parser/classes/SectionList.ts index 10f318fe..0788daea 100644 --- a/src/parser/classes/SectionList.ts +++ b/src/parser/classes/SectionList.ts @@ -1,5 +1,5 @@ import { type ObservedArray, YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class SectionList extends YTNode { static type = 'SectionList'; diff --git a/src/parser/classes/SegmentedLikeDislikeButton.ts b/src/parser/classes/SegmentedLikeDislikeButton.ts index 3c4bbf1b..31ae19fc 100644 --- a/src/parser/classes/SegmentedLikeDislikeButton.ts +++ b/src/parser/classes/SegmentedLikeDislikeButton.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Button from './Button.js'; import ToggleButton from './ToggleButton.js'; diff --git a/src/parser/classes/SettingsOptions.ts b/src/parser/classes/SettingsOptions.ts index 48c1f1a5..8e78b81a 100644 --- a/src/parser/classes/SettingsOptions.ts +++ b/src/parser/classes/SettingsOptions.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ChannelOptions from './ChannelOptions.js'; import CopyLink from './CopyLink.js'; import Dropdown from './Dropdown.js'; diff --git a/src/parser/classes/SettingsSidebar.ts b/src/parser/classes/SettingsSidebar.ts index 608bdef7..dc6a47f0 100644 --- a/src/parser/classes/SettingsSidebar.ts +++ b/src/parser/classes/SettingsSidebar.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import CompactLink from './CompactLink.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/Shelf.ts b/src/parser/classes/Shelf.ts index 383837b1..849fe7e4 100644 --- a/src/parser/classes/Shelf.ts +++ b/src/parser/classes/Shelf.ts @@ -1,5 +1,5 @@ import Text from './misc/Text.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import { YTNode } from '../helpers.js'; import Button from './Button.js'; diff --git a/src/parser/classes/SingleColumnBrowseResults.ts b/src/parser/classes/SingleColumnBrowseResults.ts index 68bb0cd6..898d611e 100644 --- a/src/parser/classes/SingleColumnBrowseResults.ts +++ b/src/parser/classes/SingleColumnBrowseResults.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Tab from './Tab.js'; export default class SingleColumnBrowseResults extends YTNode { diff --git a/src/parser/classes/SingleColumnMusicWatchNextResults.ts b/src/parser/classes/SingleColumnMusicWatchNextResults.ts index 78ed5096..6e7c540f 100644 --- a/src/parser/classes/SingleColumnMusicWatchNextResults.ts +++ b/src/parser/classes/SingleColumnMusicWatchNextResults.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class SingleColumnMusicWatchNextResults extends YTNode { static type = 'SingleColumnMusicWatchNextResults'; diff --git a/src/parser/classes/SlimOwner.ts b/src/parser/classes/SlimOwner.ts index 51ba2a57..75914d2f 100644 --- a/src/parser/classes/SlimOwner.ts +++ b/src/parser/classes/SlimOwner.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SubscribeButton from './SubscribeButton.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/SlimVideoMetadata.ts b/src/parser/classes/SlimVideoMetadata.ts index 3d1b9840..8f5727b3 100644 --- a/src/parser/classes/SlimVideoMetadata.ts +++ b/src/parser/classes/SlimVideoMetadata.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class SlimVideoMetadata extends YTNode { diff --git a/src/parser/classes/StructuredDescriptionContent.ts b/src/parser/classes/StructuredDescriptionContent.ts index 382d6b83..84b84ffc 100644 --- a/src/parser/classes/StructuredDescriptionContent.ts +++ b/src/parser/classes/StructuredDescriptionContent.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ExpandableVideoDescriptionBody from './ExpandableVideoDescriptionBody.js'; import HorizontalCardList from './HorizontalCardList.js'; import VideoDescriptionHeader from './VideoDescriptionHeader.js'; diff --git a/src/parser/classes/SubFeedSelector.ts b/src/parser/classes/SubFeedSelector.ts index d349f717..bacf55ae 100644 --- a/src/parser/classes/SubFeedSelector.ts +++ b/src/parser/classes/SubFeedSelector.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; import { type ObservedArray, YTNode } from '../helpers.js'; import SubFeedOption from './SubFeedOption.js'; diff --git a/src/parser/classes/SubscribeButton.ts b/src/parser/classes/SubscribeButton.ts index cc515b69..2f45ea54 100644 --- a/src/parser/classes/SubscribeButton.ts +++ b/src/parser/classes/SubscribeButton.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SubscriptionNotificationToggleButton from './SubscriptionNotificationToggleButton.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/SubscriptionNotificationToggleButton.ts b/src/parser/classes/SubscriptionNotificationToggleButton.ts index 47bb4db3..78989ef6 100644 --- a/src/parser/classes/SubscriptionNotificationToggleButton.ts +++ b/src/parser/classes/SubscriptionNotificationToggleButton.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type SuperParsedResult, YTNode } from '../helpers.js'; export default class SubscriptionNotificationToggleButton extends YTNode { diff --git a/src/parser/classes/Tab.ts b/src/parser/classes/Tab.ts index c06d219c..1e813260 100644 --- a/src/parser/classes/Tab.ts +++ b/src/parser/classes/Tab.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SectionList from './SectionList.js'; import MusicQueue from './MusicQueue.js'; diff --git a/src/parser/classes/Tabbed.ts b/src/parser/classes/Tabbed.ts index cd2d0b0d..5691a26f 100644 --- a/src/parser/classes/Tabbed.ts +++ b/src/parser/classes/Tabbed.ts @@ -1,5 +1,5 @@ import { YTNode, type SuperParsedResult } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class Tabbed extends YTNode { static type = 'Tabbed'; diff --git a/src/parser/classes/TabbedSearchResults.ts b/src/parser/classes/TabbedSearchResults.ts index 7f540d2b..a4ac646c 100644 --- a/src/parser/classes/TabbedSearchResults.ts +++ b/src/parser/classes/TabbedSearchResults.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { type ObservedArray, YTNode } from '../helpers.js'; import Tab from './Tab.js'; diff --git a/src/parser/classes/TopicChannelDetails.ts b/src/parser/classes/TopicChannelDetails.ts index ecacbcfa..7d0b0152 100644 --- a/src/parser/classes/TopicChannelDetails.ts +++ b/src/parser/classes/TopicChannelDetails.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SubscribeButton from './SubscribeButton.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/Transcript.ts b/src/parser/classes/Transcript.ts index cba9456c..804f4972 100644 --- a/src/parser/classes/Transcript.ts +++ b/src/parser/classes/Transcript.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import TranscriptSearchPanel from './TranscriptSearchPanel.js'; export default class Transcript extends YTNode { diff --git a/src/parser/classes/TranscriptFooter.ts b/src/parser/classes/TranscriptFooter.ts index 2394b370..3a1baaad 100644 --- a/src/parser/classes/TranscriptFooter.ts +++ b/src/parser/classes/TranscriptFooter.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import SortFilterSubMenu from './SortFilterSubMenu.js'; export default class TranscriptFooter extends YTNode { diff --git a/src/parser/classes/TranscriptSearchBox.ts b/src/parser/classes/TranscriptSearchBox.ts index 6e64edb6..8100b1b2 100644 --- a/src/parser/classes/TranscriptSearchBox.ts +++ b/src/parser/classes/TranscriptSearchBox.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Button from './Button.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import { Text } from '../misc.js'; diff --git a/src/parser/classes/TranscriptSearchPanel.ts b/src/parser/classes/TranscriptSearchPanel.ts index bf99235d..2d362d2e 100644 --- a/src/parser/classes/TranscriptSearchPanel.ts +++ b/src/parser/classes/TranscriptSearchPanel.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import TranscriptFooter from './TranscriptFooter.js'; import TranscriptSearchBox from './TranscriptSearchBox.js'; import TranscriptSegmentList from './TranscriptSegmentList.js'; diff --git a/src/parser/classes/TranscriptSegmentList.ts b/src/parser/classes/TranscriptSegmentList.ts index cb200a36..3759db13 100644 --- a/src/parser/classes/TranscriptSegmentList.ts +++ b/src/parser/classes/TranscriptSegmentList.ts @@ -1,7 +1,7 @@ import type { ObservedArray } from '../helpers.js'; import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import { Text } from '../misc.js'; import TranscriptSectionHeader from './TranscriptSectionHeader.js'; import TranscriptSegment from './TranscriptSegment.js'; diff --git a/src/parser/classes/TwoColumnBrowseResults.ts b/src/parser/classes/TwoColumnBrowseResults.ts index 07be0ead..3eef95bb 100644 --- a/src/parser/classes/TwoColumnBrowseResults.ts +++ b/src/parser/classes/TwoColumnBrowseResults.ts @@ -1,5 +1,5 @@ import { YTNode, type SuperParsedResult } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class TwoColumnBrowseResults extends YTNode { static type = 'TwoColumnBrowseResults'; diff --git a/src/parser/classes/TwoColumnSearchResults.ts b/src/parser/classes/TwoColumnSearchResults.ts index cc2c552b..eb97f24e 100644 --- a/src/parser/classes/TwoColumnSearchResults.ts +++ b/src/parser/classes/TwoColumnSearchResults.ts @@ -1,5 +1,5 @@ import { YTNode, type SuperParsedResult } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class TwoColumnSearchResults extends YTNode { static type = 'TwoColumnSearchResults'; diff --git a/src/parser/classes/TwoColumnWatchNextResults.ts b/src/parser/classes/TwoColumnWatchNextResults.ts index 868faf1f..7f612d24 100644 --- a/src/parser/classes/TwoColumnWatchNextResults.ts +++ b/src/parser/classes/TwoColumnWatchNextResults.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Menu from './menus/Menu.js'; import Author from './misc/Author.js'; diff --git a/src/parser/classes/UniversalWatchCard.ts b/src/parser/classes/UniversalWatchCard.ts index f46ec20d..25a9b97d 100644 --- a/src/parser/classes/UniversalWatchCard.ts +++ b/src/parser/classes/UniversalWatchCard.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class UniversalWatchCard extends YTNode { diff --git a/src/parser/classes/UploadTimeFactoid.ts b/src/parser/classes/UploadTimeFactoid.ts index 6714b007..5ba5c124 100644 --- a/src/parser/classes/UploadTimeFactoid.ts +++ b/src/parser/classes/UploadTimeFactoid.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Factoid from './Factoid.js'; export default class UploadTimeFactoid extends YTNode { diff --git a/src/parser/classes/UpsellDialog.ts b/src/parser/classes/UpsellDialog.ts index ae65ebc2..be133bc6 100644 --- a/src/parser/classes/UpsellDialog.ts +++ b/src/parser/classes/UpsellDialog.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/VerticalList.ts b/src/parser/classes/VerticalList.ts index 1a4b5d9a..a7c8e4e2 100644 --- a/src/parser/classes/VerticalList.ts +++ b/src/parser/classes/VerticalList.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; export default class VerticalList extends YTNode { diff --git a/src/parser/classes/VerticalWatchCardList.ts b/src/parser/classes/VerticalWatchCardList.ts index 417dd0e5..4bbd8cc1 100644 --- a/src/parser/classes/VerticalWatchCardList.ts +++ b/src/parser/classes/VerticalWatchCardList.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/Video.ts b/src/parser/classes/Video.ts index 70edaefc..70022ef9 100644 --- a/src/parser/classes/Video.ts +++ b/src/parser/classes/Video.ts @@ -1,6 +1,6 @@ import { timeToSeconds } from '../../utils/Utils.js'; import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import ExpandableMetadata from './ExpandableMetadata.js'; import MetadataBadge from './MetadataBadge.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/VideoDescriptionCourseSection.ts b/src/parser/classes/VideoDescriptionCourseSection.ts index 4b6b1db1..a4e9c66c 100644 --- a/src/parser/classes/VideoDescriptionCourseSection.ts +++ b/src/parser/classes/VideoDescriptionCourseSection.ts @@ -1,7 +1,7 @@ import type { ObservedArray} from '../helpers.js'; import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import StructuredDescriptionPlaylistLockup from './StructuredDescriptionPlaylistLockup.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/VideoDescriptionHeader.ts b/src/parser/classes/VideoDescriptionHeader.ts index fb9cd8f1..52037d37 100644 --- a/src/parser/classes/VideoDescriptionHeader.ts +++ b/src/parser/classes/VideoDescriptionHeader.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { Text, Thumbnail } from '../misc.js'; import Factoid from './Factoid.js'; import NavigationEndpoint from './NavigationEndpoint.js'; diff --git a/src/parser/classes/VideoDescriptionInfocardsSection.ts b/src/parser/classes/VideoDescriptionInfocardsSection.ts index 88aaaed3..4d216829 100644 --- a/src/parser/classes/VideoDescriptionInfocardsSection.ts +++ b/src/parser/classes/VideoDescriptionInfocardsSection.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { YTNode } from '../helpers.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/VideoDescriptionMusicSection.ts b/src/parser/classes/VideoDescriptionMusicSection.ts index 10af8657..f13d3a19 100644 --- a/src/parser/classes/VideoDescriptionMusicSection.ts +++ b/src/parser/classes/VideoDescriptionMusicSection.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import { Text } from '../misc.js'; import CarouselLockup from './CarouselLockup.js'; diff --git a/src/parser/classes/VideoDescriptionTranscriptSection.ts b/src/parser/classes/VideoDescriptionTranscriptSection.ts index 28219687..bf1a10d0 100644 --- a/src/parser/classes/VideoDescriptionTranscriptSection.ts +++ b/src/parser/classes/VideoDescriptionTranscriptSection.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import { Text } from '../misc.js'; import Button from './Button.js'; diff --git a/src/parser/classes/VideoPrimaryInfo.ts b/src/parser/classes/VideoPrimaryInfo.ts index d92ef805..534047ab 100644 --- a/src/parser/classes/VideoPrimaryInfo.ts +++ b/src/parser/classes/VideoPrimaryInfo.ts @@ -1,7 +1,7 @@ import type { ObservedArray } from '../helpers.js'; import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import MetadataBadge from './MetadataBadge.js'; import Menu from './menus/Menu.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/VideoSecondaryInfo.ts b/src/parser/classes/VideoSecondaryInfo.ts index be35ed39..bfdcf1a2 100644 --- a/src/parser/classes/VideoSecondaryInfo.ts +++ b/src/parser/classes/VideoSecondaryInfo.ts @@ -1,4 +1,4 @@ -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import Text from './misc/Text.js'; import Button from './Button.js'; import VideoOwner from './VideoOwner.js'; diff --git a/src/parser/classes/ViewCountFactoid.ts b/src/parser/classes/ViewCountFactoid.ts index 0feaa64d..09ba73c8 100644 --- a/src/parser/classes/ViewCountFactoid.ts +++ b/src/parser/classes/ViewCountFactoid.ts @@ -1,6 +1,6 @@ import { YTNode } from '../helpers.js'; import type { RawNode } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Factoid from './Factoid.js'; export default class ViewCountFactoid extends YTNode { diff --git a/src/parser/classes/WatchCardHeroVideo.ts b/src/parser/classes/WatchCardHeroVideo.ts index f3c98464..739db8ea 100644 --- a/src/parser/classes/WatchCardHeroVideo.ts +++ b/src/parser/classes/WatchCardHeroVideo.ts @@ -1,5 +1,5 @@ import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; export default class WatchCardHeroVideo extends YTNode { diff --git a/src/parser/classes/WatchCardSectionSequence.ts b/src/parser/classes/WatchCardSectionSequence.ts index 3ce16991..34b55369 100644 --- a/src/parser/classes/WatchCardSectionSequence.ts +++ b/src/parser/classes/WatchCardSectionSequence.ts @@ -1,6 +1,6 @@ import type { ObservedArray} from '../helpers.js'; import { YTNode } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; export default class WatchCardSectionSequence extends YTNode { static type = 'WatchCardSectionSequence'; diff --git a/src/parser/classes/WatchNextEndScreen.ts b/src/parser/classes/WatchNextEndScreen.ts index 99bb2be9..67007fb4 100644 --- a/src/parser/classes/WatchNextEndScreen.ts +++ b/src/parser/classes/WatchNextEndScreen.ts @@ -1,5 +1,5 @@ import { YTNode, type ObservedArray } from '../helpers.js'; -import Parser, { type RawNode } from '../index.js'; +import { Parser, type RawNode } from '../index.js'; import EndScreenPlaylist from './EndScreenPlaylist.js'; import EndScreenVideo from './EndScreenVideo.js'; import Text from './misc/Text.js'; diff --git a/src/parser/classes/actions/AppendContinuationItemsAction.ts b/src/parser/classes/actions/AppendContinuationItemsAction.ts index 78aa7872..24b992bd 100644 --- a/src/parser/classes/actions/AppendContinuationItemsAction.ts +++ b/src/parser/classes/actions/AppendContinuationItemsAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import type { RawNode } from '../../index.js'; import type { ObservedArray } from '../../helpers.js'; import { YTNode } from '../../helpers.js'; diff --git a/src/parser/classes/actions/OpenPopupAction.ts b/src/parser/classes/actions/OpenPopupAction.ts index 8dfb91d2..7471e893 100644 --- a/src/parser/classes/actions/OpenPopupAction.ts +++ b/src/parser/classes/actions/OpenPopupAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/actions/UpdateEngagementPanelAction.ts b/src/parser/classes/actions/UpdateEngagementPanelAction.ts index 60cad408..bcc5b15f 100644 --- a/src/parser/classes/actions/UpdateEngagementPanelAction.ts +++ b/src/parser/classes/actions/UpdateEngagementPanelAction.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Transcript from '../Transcript.js'; export default class UpdateEngagementPanelAction extends YTNode { diff --git a/src/parser/classes/comments/Comment.ts b/src/parser/classes/comments/Comment.ts index 0fc0e2e1..fb3d44bf 100644 --- a/src/parser/classes/comments/Comment.ts +++ b/src/parser/classes/comments/Comment.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Author from '../misc/Author.js'; import Text from '../misc/Text.js'; diff --git a/src/parser/classes/comments/CommentActionButtons.ts b/src/parser/classes/comments/CommentActionButtons.ts index 615ea76c..ec4c1317 100644 --- a/src/parser/classes/comments/CommentActionButtons.ts +++ b/src/parser/classes/comments/CommentActionButtons.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import ToggleButton from '../ToggleButton.js'; import CreatorHeart from './CreatorHeart.js'; diff --git a/src/parser/classes/comments/CommentDialog.ts b/src/parser/classes/comments/CommentDialog.ts index c83e3a7e..ee79534a 100644 --- a/src/parser/classes/comments/CommentDialog.ts +++ b/src/parser/classes/comments/CommentDialog.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import Text from '../misc/Text.js'; import Thumbnail from '../misc/Thumbnail.js'; diff --git a/src/parser/classes/comments/CommentReplies.ts b/src/parser/classes/comments/CommentReplies.ts index af20f834..b88a1e0c 100644 --- a/src/parser/classes/comments/CommentReplies.ts +++ b/src/parser/classes/comments/CommentReplies.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import Thumbnail from '../misc/Thumbnail.js'; diff --git a/src/parser/classes/comments/CommentReplyDialog.ts b/src/parser/classes/comments/CommentReplyDialog.ts index 1faee652..69471cee 100644 --- a/src/parser/classes/comments/CommentReplyDialog.ts +++ b/src/parser/classes/comments/CommentReplyDialog.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import Text from '../misc/Text.js'; import Thumbnail from '../misc/Thumbnail.js'; diff --git a/src/parser/classes/comments/CommentSimplebox.ts b/src/parser/classes/comments/CommentSimplebox.ts index 0409d53f..d28dd2e1 100644 --- a/src/parser/classes/comments/CommentSimplebox.ts +++ b/src/parser/classes/comments/CommentSimplebox.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import Text from '../misc/Text.js'; import Thumbnail from '../misc/Thumbnail.js'; diff --git a/src/parser/classes/comments/CommentThread.ts b/src/parser/classes/comments/CommentThread.ts index 24f6196e..af3b9ec9 100644 --- a/src/parser/classes/comments/CommentThread.ts +++ b/src/parser/classes/comments/CommentThread.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import ContinuationItem from '../ContinuationItem.js'; import Comment from './Comment.js'; diff --git a/src/parser/classes/comments/CommentsHeader.ts b/src/parser/classes/comments/CommentsHeader.ts index e3f7ccd8..d34ca24e 100644 --- a/src/parser/classes/comments/CommentsHeader.ts +++ b/src/parser/classes/comments/CommentsHeader.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import SortFilterSubMenu from '../SortFilterSubMenu.js'; import Text from '../misc/Text.js'; import Thumbnail from '../misc/Thumbnail.js'; diff --git a/src/parser/classes/comments/EmojiPicker.ts b/src/parser/classes/comments/EmojiPicker.ts index 784a4374..aa12248e 100644 --- a/src/parser/classes/comments/EmojiPicker.ts +++ b/src/parser/classes/comments/EmojiPicker.ts @@ -1,6 +1,6 @@ import { type ObservedArray, YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Text from '../misc/Text.js'; export default class EmojiPicker extends YTNode { diff --git a/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts b/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts index bb0a0d06..8cb53003 100644 --- a/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts +++ b/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import LiveChatBanner from './items/LiveChatBanner.js'; export default class AddBannerToLiveChatCommand extends YTNode { diff --git a/src/parser/classes/livechat/AddChatItemAction.ts b/src/parser/classes/livechat/AddChatItemAction.ts index 5b7168bc..3c8dd908 100644 --- a/src/parser/classes/livechat/AddChatItemAction.ts +++ b/src/parser/classes/livechat/AddChatItemAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts b/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts index 9cd674f7..c2e292d1 100644 --- a/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts +++ b/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/LiveChatActionPanel.ts b/src/parser/classes/livechat/LiveChatActionPanel.ts index b738315a..86eb2421 100644 --- a/src/parser/classes/livechat/LiveChatActionPanel.ts +++ b/src/parser/classes/livechat/LiveChatActionPanel.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { type SuperParsedResult, YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/ReplaceChatItemAction.ts b/src/parser/classes/livechat/ReplaceChatItemAction.ts index ffde7856..67a98cb5 100644 --- a/src/parser/classes/livechat/ReplaceChatItemAction.ts +++ b/src/parser/classes/livechat/ReplaceChatItemAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/ReplayChatItemAction.ts b/src/parser/classes/livechat/ReplayChatItemAction.ts index 9be828ce..5925cfae 100644 --- a/src/parser/classes/livechat/ReplayChatItemAction.ts +++ b/src/parser/classes/livechat/ReplayChatItemAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { type ObservedArray, YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts b/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts index a2a13b98..5e8c6be6 100644 --- a/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts +++ b/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import LiveChatActionPanel from './LiveChatActionPanel.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/ShowLiveChatDialogAction.ts b/src/parser/classes/livechat/ShowLiveChatDialogAction.ts index 341c851a..ff976673 100644 --- a/src/parser/classes/livechat/ShowLiveChatDialogAction.ts +++ b/src/parser/classes/livechat/ShowLiveChatDialogAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts b/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts index c53ca463..779956de 100644 --- a/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts +++ b/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/UpdateLiveChatPollAction.ts b/src/parser/classes/livechat/UpdateLiveChatPollAction.ts index 4cac8e5f..77c0fedc 100644 --- a/src/parser/classes/livechat/UpdateLiveChatPollAction.ts +++ b/src/parser/classes/livechat/UpdateLiveChatPollAction.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts b/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts index f29d333d..a619f906 100644 --- a/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts +++ b/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts @@ -1,4 +1,4 @@ -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import Button from '../../Button.js'; import NavigationEndpoint from '../../NavigationEndpoint.js'; import Text from '../../misc/Text.js'; diff --git a/src/parser/classes/livechat/items/LiveChatBanner.ts b/src/parser/classes/livechat/items/LiveChatBanner.ts index fb35a7ee..9243920e 100644 --- a/src/parser/classes/livechat/items/LiveChatBanner.ts +++ b/src/parser/classes/livechat/items/LiveChatBanner.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import LiveChatBannerHeader from './LiveChatBannerHeader.js'; export default class LiveChatBanner extends YTNode { diff --git a/src/parser/classes/livechat/items/LiveChatBannerHeader.ts b/src/parser/classes/livechat/items/LiveChatBannerHeader.ts index 439afb0f..7e19714f 100644 --- a/src/parser/classes/livechat/items/LiveChatBannerHeader.ts +++ b/src/parser/classes/livechat/items/LiveChatBannerHeader.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import Button from '../../Button.js'; import Text from '../../misc/Text.js'; diff --git a/src/parser/classes/livechat/items/LiveChatBannerPoll.ts b/src/parser/classes/livechat/items/LiveChatBannerPoll.ts index ea0bf8d0..4a19c35c 100644 --- a/src/parser/classes/livechat/items/LiveChatBannerPoll.ts +++ b/src/parser/classes/livechat/items/LiveChatBannerPoll.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import Button from '../../Button.js'; import Text from '../../misc/Text.js'; import Thumbnail from '../../misc/Thumbnail.js'; diff --git a/src/parser/classes/livechat/items/LiveChatProductItem.ts b/src/parser/classes/livechat/items/LiveChatProductItem.ts index 1092d892..5f0d737f 100644 --- a/src/parser/classes/livechat/items/LiveChatProductItem.ts +++ b/src/parser/classes/livechat/items/LiveChatProductItem.ts @@ -1,4 +1,4 @@ -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import { YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; diff --git a/src/parser/classes/livechat/items/LiveChatTextMessage.ts b/src/parser/classes/livechat/items/LiveChatTextMessage.ts index b326a4cf..962fd7d8 100644 --- a/src/parser/classes/livechat/items/LiveChatTextMessage.ts +++ b/src/parser/classes/livechat/items/LiveChatTextMessage.ts @@ -1,6 +1,6 @@ import { type ObservedArray, YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import Button from '../../Button.js'; import NavigationEndpoint from '../../NavigationEndpoint.js'; import Author from '../../misc/Author.js'; diff --git a/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts b/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts index 6801744b..3d588a86 100644 --- a/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts +++ b/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts @@ -1,5 +1,5 @@ import Author from '../../misc/Author.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import NavigationEndpoint from '../../NavigationEndpoint.js'; import Text from '../../misc/Text.js'; diff --git a/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts b/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts index c2e2e030..c58416c8 100644 --- a/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts +++ b/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts @@ -1,4 +1,4 @@ -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import { LiveChatMessageBase } from './LiveChatTextMessage.js'; import type { RawNode } from '../../../index.js'; import type { YTNode } from '../../../helpers.js'; diff --git a/src/parser/classes/livechat/items/PollHeader.ts b/src/parser/classes/livechat/items/PollHeader.ts index 9c7b8641..eccf25bf 100644 --- a/src/parser/classes/livechat/items/PollHeader.ts +++ b/src/parser/classes/livechat/items/PollHeader.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../../helpers.js'; import type { RawNode } from '../../../index.js'; -import Parser from '../../../index.js'; +import { Parser } from '../../../index.js'; import Button from '../../Button.js'; import Text from '../../misc/Text.js'; import Thumbnail from '../../misc/Thumbnail.js'; diff --git a/src/parser/classes/menus/Menu.ts b/src/parser/classes/menus/Menu.ts index b338fb73..18b5e2a5 100644 --- a/src/parser/classes/menus/Menu.ts +++ b/src/parser/classes/menus/Menu.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import type { ObservedArray} from '../../helpers.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/menus/MenuPopup.ts b/src/parser/classes/menus/MenuPopup.ts index dbfdaa1c..212e30f7 100644 --- a/src/parser/classes/menus/MenuPopup.ts +++ b/src/parser/classes/menus/MenuPopup.ts @@ -1,7 +1,7 @@ import type { ObservedArray} from '../../helpers.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import MenuNavigationItem from './MenuNavigationItem.js'; import MenuServiceItem from './MenuServiceItem.js'; diff --git a/src/parser/classes/menus/MultiPageMenu.ts b/src/parser/classes/menus/MultiPageMenu.ts index e0038921..f8a19107 100644 --- a/src/parser/classes/menus/MultiPageMenu.ts +++ b/src/parser/classes/menus/MultiPageMenu.ts @@ -1,6 +1,6 @@ import { YTNode, type SuperParsedResult } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; export default class MultiPageMenu extends YTNode { static type = 'MultiPageMenu'; diff --git a/src/parser/classes/menus/MultiPageMenuNotificationSection.ts b/src/parser/classes/menus/MultiPageMenuNotificationSection.ts index 95b7b5bd..8cfd1022 100644 --- a/src/parser/classes/menus/MultiPageMenuNotificationSection.ts +++ b/src/parser/classes/menus/MultiPageMenuNotificationSection.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import { type SuperParsedResult, YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/classes/menus/MusicMultiSelectMenu.ts b/src/parser/classes/menus/MusicMultiSelectMenu.ts index 3d34d196..9a13be54 100644 --- a/src/parser/classes/menus/MusicMultiSelectMenu.ts +++ b/src/parser/classes/menus/MusicMultiSelectMenu.ts @@ -1,7 +1,7 @@ import type { ObservedArray} from '../../helpers.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Text from '../misc/Text.js'; import MusicMenuItemDivider from './MusicMenuItemDivider.js'; import MusicMultiSelectMenuItem from './MusicMultiSelectMenuItem.js'; diff --git a/src/parser/classes/menus/SimpleMenuHeader.ts b/src/parser/classes/menus/SimpleMenuHeader.ts index 0c5ce879..070bf19a 100644 --- a/src/parser/classes/menus/SimpleMenuHeader.ts +++ b/src/parser/classes/menus/SimpleMenuHeader.ts @@ -1,7 +1,7 @@ import type { SuperParsedResult} from '../../helpers.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Text from '../misc/Text.js'; export default class SimpleMenuHeader extends YTNode { diff --git a/src/parser/classes/misc/Author.ts b/src/parser/classes/misc/Author.ts index 754ad13c..a052309c 100644 --- a/src/parser/classes/misc/Author.ts +++ b/src/parser/classes/misc/Author.ts @@ -1,7 +1,7 @@ import * as Constants from '../../../utils/Constants.js'; import type { YTNode} from '../../helpers.js'; import { observe, type ObservedArray } from '../../helpers.js'; -import Parser, { type RawNode } from '../../index.js'; +import { Parser, type RawNode } from '../../index.js'; import type NavigationEndpoint from '../NavigationEndpoint.js'; import Text from './Text.js'; import type TextRun from './TextRun.js'; diff --git a/src/parser/classes/ytkids/AnchoredSection.ts b/src/parser/classes/ytkids/AnchoredSection.ts index 27a9cec1..8becea98 100644 --- a/src/parser/classes/ytkids/AnchoredSection.ts +++ b/src/parser/classes/ytkids/AnchoredSection.ts @@ -1,6 +1,6 @@ import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import NavigationEndpoint from '../NavigationEndpoint.js'; import SectionList from '../SectionList.js'; diff --git a/src/parser/classes/ytkids/KidsBlocklistPicker.ts b/src/parser/classes/ytkids/KidsBlocklistPicker.ts index 51e29c66..95b5f83e 100644 --- a/src/parser/classes/ytkids/KidsBlocklistPicker.ts +++ b/src/parser/classes/ytkids/KidsBlocklistPicker.ts @@ -1,7 +1,7 @@ import Text from '../misc/Text.js'; import { YTNode } from '../../helpers.js'; import Button from '../Button.js'; -import Parser, { type RawNode } from '../../index.js'; +import { Parser, type RawNode } from '../../index.js'; import KidsBlocklistPickerItem from './KidsBlocklistPickerItem.js'; export default class KidsBlocklistPicker extends YTNode { diff --git a/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts b/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts index 0933bfe0..e3eaf602 100644 --- a/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts +++ b/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts @@ -1,6 +1,6 @@ import Text from '../misc/Text.js'; import { YTNode } from '../../helpers.js'; -import Parser, { type RawNode } from '../../index.js'; +import { Parser, type RawNode } from '../../index.js'; import ToggleButton from '../ToggleButton.js'; import Thumbnail from '../misc/Thumbnail.js'; import type Actions from '../../../core/Actions.js'; diff --git a/src/parser/classes/ytkids/KidsCategoriesHeader.ts b/src/parser/classes/ytkids/KidsCategoriesHeader.ts index 774934ee..1ad73188 100644 --- a/src/parser/classes/ytkids/KidsCategoriesHeader.ts +++ b/src/parser/classes/ytkids/KidsCategoriesHeader.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import Button from '../Button.js'; import KidsCategoryTab from './KidsCategoryTab.js'; import { type ObservedArray, YTNode } from '../../helpers.js'; diff --git a/src/parser/classes/ytkids/KidsHomeScreen.ts b/src/parser/classes/ytkids/KidsHomeScreen.ts index 81f59579..0378acca 100644 --- a/src/parser/classes/ytkids/KidsHomeScreen.ts +++ b/src/parser/classes/ytkids/KidsHomeScreen.ts @@ -1,4 +1,4 @@ -import Parser from '../../index.js'; +import { Parser } from '../../index.js'; import AnchoredSection from './AnchoredSection.js'; import { type ObservedArray, YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; diff --git a/src/parser/index.ts b/src/parser/index.ts index 6c14a3b1..1a038206 100644 --- a/src/parser/index.ts +++ b/src/parser/index.ts @@ -7,6 +7,4 @@ export * as YT from './youtube/index.js'; export * as YTMusic from './ytmusic/index.js'; export * as YTKids from './ytkids/index.js'; export * as Helpers from './helpers.js'; -export * as Generator from './generator.js'; -import * as Parser from './parser.js'; -export default Parser; \ No newline at end of file +export * as Generator from './generator.js'; \ No newline at end of file diff --git a/src/parser/youtube/AccountInfo.ts b/src/parser/youtube/AccountInfo.ts index a3ef9323..2da2b257 100644 --- a/src/parser/youtube/AccountInfo.ts +++ b/src/parser/youtube/AccountInfo.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import type { ApiResponse } from '../../core/Actions.js'; import type { IParsedResponse } from '../types/ParsedResponse.js'; diff --git a/src/parser/youtube/Analytics.ts b/src/parser/youtube/Analytics.ts index 2d1fe5b8..95c512a1 100644 --- a/src/parser/youtube/Analytics.ts +++ b/src/parser/youtube/Analytics.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Element from '../classes/Element.js'; import type { ApiResponse } from '../../core/Actions.js'; import type { IBrowseResponse } from '../types/ParsedResponse.js'; diff --git a/src/parser/youtube/Comments.ts b/src/parser/youtube/Comments.ts index aa67f5af..6e771847 100644 --- a/src/parser/youtube/Comments.ts +++ b/src/parser/youtube/Comments.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; import { InnertubeError } from '../../utils/Utils.js'; diff --git a/src/parser/youtube/LiveChat.ts b/src/parser/youtube/LiveChat.ts index 242cd884..bf8e2612 100644 --- a/src/parser/youtube/LiveChat.ts +++ b/src/parser/youtube/LiveChat.ts @@ -1,5 +1,5 @@ import EventEmitter from '../../utils/EventEmitterLike.js'; -import Parser, { LiveChatContinuation } from '../index.js'; +import { Parser, LiveChatContinuation } from '../index.js'; import type VideoInfo from './VideoInfo.js'; import SmoothedQueue from './SmoothedQueue.js'; diff --git a/src/parser/youtube/NotificationsMenu.ts b/src/parser/youtube/NotificationsMenu.ts index 9341497b..c1344cde 100644 --- a/src/parser/youtube/NotificationsMenu.ts +++ b/src/parser/youtube/NotificationsMenu.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import ContinuationItem from '../classes/ContinuationItem.js'; import SimpleMenuHeader from '../classes/menus/SimpleMenuHeader.js'; diff --git a/src/parser/youtube/Settings.ts b/src/parser/youtube/Settings.ts index 03131f5a..5a9e3d33 100644 --- a/src/parser/youtube/Settings.ts +++ b/src/parser/youtube/Settings.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import { InnertubeError } from '../../utils/Utils.js'; import CompactLink from '../classes/CompactLink.js'; diff --git a/src/parser/youtube/TimeWatched.ts b/src/parser/youtube/TimeWatched.ts index 4e24ef13..39c7c417 100644 --- a/src/parser/youtube/TimeWatched.ts +++ b/src/parser/youtube/TimeWatched.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import ItemSection from '../classes/ItemSection.js'; import SectionList from '../classes/SectionList.js'; import SingleColumnBrowseResults from '../classes/SingleColumnBrowseResults.js'; diff --git a/src/parser/youtube/TranscriptInfo.ts b/src/parser/youtube/TranscriptInfo.ts index ec7657f4..c2f73180 100644 --- a/src/parser/youtube/TranscriptInfo.ts +++ b/src/parser/youtube/TranscriptInfo.ts @@ -1,7 +1,7 @@ import type Actions from '../../core/Actions.js'; import { type ApiResponse } from '../../core/Actions.js'; import type { IGetTranscriptResponse } from '../index.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Transcript from '../classes/Transcript.js'; export default class TranscriptInfo { diff --git a/src/parser/ytmusic/Album.ts b/src/parser/ytmusic/Album.ts index 5456ac93..92775ed2 100644 --- a/src/parser/ytmusic/Album.ts +++ b/src/parser/ytmusic/Album.ts @@ -1,6 +1,6 @@ import type { ApiResponse } from '../../core/Actions.js'; import type { ObservedArray } from '../helpers.js'; -import Parser from '../index.js'; +import { Parser } from '../index.js'; import MicroformatData from '../classes/MicroformatData.js'; import MusicCarouselShelf from '../classes/MusicCarouselShelf.js'; diff --git a/src/parser/ytmusic/Artist.ts b/src/parser/ytmusic/Artist.ts index cacb923e..0625dd3f 100644 --- a/src/parser/ytmusic/Artist.ts +++ b/src/parser/ytmusic/Artist.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; import { InnertubeError } from '../../utils/Utils.js'; diff --git a/src/parser/ytmusic/Explore.ts b/src/parser/ytmusic/Explore.ts index 6b3f9560..6d8466cd 100644 --- a/src/parser/ytmusic/Explore.ts +++ b/src/parser/ytmusic/Explore.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import Grid from '../classes/Grid.js'; import MusicCarouselShelf from '../classes/MusicCarouselShelf.js'; diff --git a/src/parser/ytmusic/HomeFeed.ts b/src/parser/ytmusic/HomeFeed.ts index 23958860..a7f0201d 100644 --- a/src/parser/ytmusic/HomeFeed.ts +++ b/src/parser/ytmusic/HomeFeed.ts @@ -1,4 +1,4 @@ -import Parser, { SectionListContinuation } from '../index.js'; +import { Parser, SectionListContinuation } from '../index.js'; import MusicCarouselShelf from '../classes/MusicCarouselShelf.js'; import SectionList from '../classes/SectionList.js'; import SingleColumnBrowseResults from '../classes/SingleColumnBrowseResults.js'; diff --git a/src/parser/ytmusic/Library.ts b/src/parser/ytmusic/Library.ts index 4d2b8b19..a0d148ea 100644 --- a/src/parser/ytmusic/Library.ts +++ b/src/parser/ytmusic/Library.ts @@ -1,4 +1,4 @@ -import Parser, { GridContinuation, MusicShelfContinuation, SectionListContinuation } from '../index.js'; +import { Parser, GridContinuation, MusicShelfContinuation, SectionListContinuation } from '../index.js'; import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; diff --git a/src/parser/ytmusic/Playlist.ts b/src/parser/ytmusic/Playlist.ts index f7a934b7..cf2d7675 100644 --- a/src/parser/ytmusic/Playlist.ts +++ b/src/parser/ytmusic/Playlist.ts @@ -1,4 +1,4 @@ -import Parser, { MusicPlaylistShelfContinuation, SectionListContinuation } from '../index.js'; +import { Parser, MusicPlaylistShelfContinuation, SectionListContinuation } from '../index.js'; import MusicCarouselShelf from '../classes/MusicCarouselShelf.js'; import MusicDetailHeader from '../classes/MusicDetailHeader.js'; diff --git a/src/parser/ytmusic/Recap.ts b/src/parser/ytmusic/Recap.ts index f3fdc5fe..c4b33013 100644 --- a/src/parser/ytmusic/Recap.ts +++ b/src/parser/ytmusic/Recap.ts @@ -1,4 +1,4 @@ -import Parser from '../index.js'; +import { Parser } from '../index.js'; import type Actions from '../../core/Actions.js'; import type { ApiResponse } from '../../core/Actions.js'; diff --git a/src/parser/ytmusic/Search.ts b/src/parser/ytmusic/Search.ts index 0c911977..9950ff55 100644 --- a/src/parser/ytmusic/Search.ts +++ b/src/parser/ytmusic/Search.ts @@ -1,6 +1,6 @@ import type Actions from '../../core/Actions.js'; import { InnertubeError } from '../../utils/Utils.js'; -import Parser, { MusicShelfContinuation } from '../index.js'; +import { Parser, MusicShelfContinuation } from '../index.js'; import ChipCloud from '../classes/ChipCloud.js'; import ChipCloudChip from '../classes/ChipCloudChip.js'; diff --git a/src/platform/lib.ts b/src/platform/lib.ts index 8219b3ac..ec2f985f 100644 --- a/src/platform/lib.ts +++ b/src/platform/lib.ts @@ -2,7 +2,6 @@ import Innertube from '../Innertube.js'; export * from '../core/index.js'; export * from '../parser/index.js'; -export { default as Parser } from '../parser/index.js'; export * as Proto from '../proto/index.js'; export * as Types from '../types/index.js'; export * from '../utils/index.js';